java - Test Memory Efficiency Comparing Data Structures on a Large Data Set -
is there online resource can use simulate how snippet of code perform on large data set , provide me metrics?
otherwise method suggest achieve this? (in case, want see how linkedlist vs arraylist perform in terms of memory usage (being able view bottlenecks on period of time amazing) on inserting list of things them read 5gb file)
thanks!
you can use memory profiler, oracle jdk has 2 of them visualvm
, jmc
you can take full gc , see how memory used looking @ total heap size. on hotspot, system.gc();
honoured default.
being able view bottlenecks on period of time amazing
this cpu , memory profiler designed for.
Comments
Post a Comment