Re:Java garbage collection can be really slow
by sandGorgon on Saturday April 23, 2016 @10:56AM
(#11555788)
This is very interesting - is there any sample code one can learn from to build something in this style of programming ? Especially the deployment - do you have a scheduled that triggers GC or do you simply kill and restart, etc.
[ Parent
| on HN ]
Re:Java garbage collection can be really slow
by merb on Saturday April 23, 2016 @01:52PM
(#11556563)
Actually you can trick the JVM to run a Full GC.
If you run:
jmap -histo:live <PID>
it will show a memory map of all the live objects and since java needs to run a full GC cycle to do that it will actually run a Full GC.