JVMTI agent and max heap

Running an app with a JVMTI agent attached, I cannot specify a max heap greater than 320Mb, even on a 1Gb machine with hardly anything running. Specifying for example -Xms256m -Xmx512m results in following error:

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine.

Anyone any ideas?

Thanks,

Luc

[418 byte] By [cfhlap0a] at [2007-10-3 1:21:17]
# 1
This appears to be a duplicate of this post: http://forum.java.sun.com/thread.jspa?threadID=755278&tstart=0
alan.batemana at 2007-7-14 18:18:30 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...