Hi,
My question is about Garbage Collector invoking. Ash far as I know Garbage collector implicitly is invoked when it reaches maximum heap size assigned to the JVM. Lets say if I have
java -Xmx25m Blabla
So when JVM memory usage will reach 25M it will not be able to create more objects and will run GC tu free not strongly reffered objects. My question what if on my system is only 20 Mb available memory (lets say 10Mb RAM and 10MB virtual). Will GC be executed when it reaches phycical memory limit or it will throw OutOfMemoryError ?
Thank You very much
Tony
My question is about Garbage Collector invoking. Ash far as I know Garbage collector implicitly is invoked when it reaches maximum heap size assigned to the JVM. Lets say if I have
java -Xmx25m Blabla
So when JVM memory usage will reach 25M it will not be able to create more objects and will run GC tu free not strongly reffered objects. My question what if on my system is only 20 Mb available memory (lets say 10Mb RAM and 10MB virtual). Will GC be executed when it reaches phycical memory limit or it will throw OutOfMemoryError ?
Thank You very much
Tony