Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Memory cleanup
import java.util.*; class Rextester { public static void main(String s[]) throws Exception { Runtime rs = Runtime.getRuntime(); System.out.println("Free memory in JVM before Garbage Collection = "+rs.freeMemory()); rs.gc(); System.out.println("Free memory in JVM after Garbage Collection ="+rs.freeMemory()); } }
run
|
edit
|
history
|
help
1
Please
log in
to post a comment.
Hello world
BinaryTreeFindNext_noParentPointer
Extracting Value from a String that contains key value pairs
call para cons
Abhay
1
Remove duplicates in string
K closest points
Random and count of even numbers
Find kth element from last in a singly linked list
Please log in to post a comment.