# Aerospike java API : Info.request(new InfoPolicy(), node, tmpSetName) return zero for memory\_data\_bytes filed even if we know there is there object

**URL:** <https://discuss.aerospike.com/t/aerospike-java-api-info-request-new-infopolicy-node-tmpsetname-return-zero-for-memory-data-bytes-filed-even-if-we-know-there-is-there-object/7576>\
**Category:** General Discussion\
**Created:** [June 22, 2020, 2:46pm UTC](https://discuss.aerospike.com/t/aerospike-java-api-info-request-new-infopolicy-node-tmpsetname-return-zero-for-memory-data-bytes-filed-even-if-we-know-there-is-there-object/7576 "2020-06-22T14:46:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roneny](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/roneny/32/1235_2.png) [@roneny](https://discuss.aerospike.com/u/roneny)\
**Post date:** [June 22, 2020, 2:46pm UTC](https://discuss.aerospike.com/t/aerospike-java-api-info-request-new-infopolicy-node-tmpsetname-return-zero-for-memory-data-bytes-filed-even-if-we-know-there-is-there-object/7576/1 "2020-06-22T14:46:55Z")

</div>

Hey when I use Java API to get info request it return value for the request but it not include value for the “memory\_data\_bytes”

```auto
BB9A866344B43E4 objects=5:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9FE35344B43E4 objects=4:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB95267344B43E4 objects=2:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB99865344B43E4 objects=3:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9CC34344B43E4 objects=1:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB976D5334B43E4 objects=3:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB96466344B43E4 objects=7:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9AA48344B43E4 objects=3:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9CA2E344B43E4 objects=4:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB98666344B43E4 objects=3:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB94438344B43E4 objects=1:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB97679334B43E4 objects=8:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9A866344B43E4 objects=75:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9FE35344B43E4 objects=74:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB95267344B43E4 objects=57:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB99865344B43E4 objects=59:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9CC34344B43E4 objects=54:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB976D5334B43E4 objects=56:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB96466344B43E4 objects=74:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9AA48344B43E4 objects=46:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB9CA2E344B43E4 objects=60:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB98666344B43E4 objects=61:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB94438344B43E4 objects=54:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;
BB97679334B43E4 objects=54:tombstones=0:memory_data_bytes=0:truncate_lut=0:stop-writes-count=0:set-enable-xdr=use-default:disable-eviction=false;

```

---

<div class="post-metadata">

**Author:** ![kporter](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/kporter/32/515_2.png) [@kporter](https://discuss.aerospike.com/u/kporter)\
**Post date:** [June 29, 2020, 6:11pm UTC](https://discuss.aerospike.com/t/aerospike-java-api-info-request-new-infopolicy-node-tmpsetname-return-zero-for-memory-data-bytes-filed-even-if-we-know-there-is-there-object/7576/2 "2020-06-29T18:11:22Z")

</div>

The [`memory_data_bytes`](https://www.aerospike.com/docs/reference/configuration/#data-in-memory) metric indicates the amount of record data that is stored in memory (does not include the index entry). So I suspect this namespace isn’t [`data-in-memory`](https://www.aerospike.com/docs/reference/configuration/#data-in-memory).

There isn’t a metric for either cumulative or index memory usage at the set level. They can be accessed at the namespace level, see [memory\_used\_bytes](https://www.aerospike.com/docs/reference/metrics/#memory_used_bytes).
