Need info on JVM

Hi,

I have a RAM size of 512 MB, with OS Windows Server 2000

Say I have started a java program with Max 400 MB memory allocated to JVM at startup.... If this java program's lying idle at later point of time, can this memory be used up for any other memory intensive process, say file transfer? Or will this 400 MB remain exclusively blocked by my JVM ?

[372 byte] By [jedi@worka] at [2007-10-2 18:23:37]
# 1
Your OS will perform paging so the memory can be used by other applications.Kaj
kajbja at 2007-7-13 19:44:29 > top of Java-index,Java Essentials,Java Programming...
# 2
Telling it you may use up to a Max of 400MB doesn't mean that it is always taking up anywhere near 400MB of memory, nor that it has pre-allocated that memory to the Java process either.
warnerjaa at 2007-7-13 19:44:29 > top of Java-index,Java Essentials,Java Programming...
# 3

Thanks Guys for the reply.

So does that mean that JVM is allowed to use 400MB only when this memory is free & the java program needs it ? lets say while this memory is being used up by some other processes the original Java program suddenly has a requirement for its share of 400 MB ... how will the memory manager make sure JVM gets its share ?

Or the JVM will throw some kind of error or the java program become slower .... can u pls clarify ?

jedi@worka at 2007-7-13 19:44:29 > top of Java-index,Java Essentials,Java Programming...