> >> I wonder about using all memory. Do you mean it throws OOME? > > > > No, it just allocates all the memory. It's visible in the amount of > > memory taken by the process, and there's also a monitor of used memory > > in Geronimo Console, and on RI it's going up or down depending on the > > load, and on Harmony it shows the biggest number from start on. > > I think the process maps all of the heap from the start, this is > intended since the heap has to be in one chunk. So process monitor would > show exactly this.
I'm not sure if this is actually a process memory manager problem or just a diagnostics problem, but from Geronimo perspective it goes to java.lang.management.MemoryUsage.getUsed() method anyway. I've filed HARMONY-5523 to help track that. Thanks! Vasily
