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

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -