Problem with Runtime.getRuntime.maxMemory()

Hello,

I'm trying to use Runtime.getRuntime.maxMemory()

on websphere 6.1

I know that the max heap size is256MB and i keep getting from themaxMemory method1.98GB.

I know that there is an open bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4686462 but it talks about a permanent dif of 64MB.

1. there are more than 64MB between my values.

2. No matter to what value i change the heap size on the websphere, I keep getting 1.98GB.

Any ideas?

Thank you,

Noa

[548 byte] By [Noaa] at [2007-11-27 3:39:23]
# 1
Someone?
Noaa at 2007-7-12 8:42:44 > top of Java-index,Java HotSpot Virtual Machine,Specifications...