ellecer / cqengine

Automatically exported from code.google.com/p/cqengine
0 stars 0 forks source link

Provide the way to determine how much memory used by index #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As I can see here 
https://groups.google.com/forum/#!topic/cqengine-discuss/RX_ESsAKZqQ index can 
take a lot of memory. In provided example up to 40 times the size of the data.
It would be nice to have ability to detect how much memory gone where.
At least approximately.

Original issue reported on code.google.com by g...@inbox.ru on 15 Dec 2014 at 3:12

GoogleCodeExporter commented 9 years ago
This is an enhancement request, not a defect.

I can see how this would be useful. It's a tricky question though. I have some 
ideas on this, I'll think about how best to proceed.

In the meantime, in general, a helpful way to find which types of objects are 
using most memory is the command line:

jmap -histo:live <pid of jvm>

Original comment by ni...@npgall.com on 15 Dec 2014 at 3:21