Hello developers,
Please help me to understand this:
In my app i am checking heap info and as i see, i have enough space,
however I have an OutOffMemory error from time to time.
How is that possible, when i have, e.g:
HEAP_SIZE: 7.007MB -> Runtime.getRuntime().totalMemory()/
1024
On Wed, Feb 8, 2012 at 2:21 PM, Lidia wrote:
> Does VM allocates objects in heap memory?
Yes.
> In the last example:
> 153600-bytes means == 0.14648 MB. I had free 3.005MB , why i got
> OutOffMemory?
Probably it means that the heap is fragmented, and while you have a
lot of space overall,
2 matches
Mail list logo