jvm - How to measure stack memory in Java? -


there single core class used in transaction engine. did test high number of concurrent transaction resulted in deadly stack-overflow exception. know if there way measure how stack memory available in order avoid exception.

i looking dynamic way of doing setting hard limit on number of concurrent transactions not ideal.

give java visualvm try. it's oracle, , included jdk. can find here:

${jdk}/bin/jvisualvm.exe 

almost want know java application's performance can observed through this.

here's quick tutorial if need it, although doesn't need of explanation.


Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

mysqli - Php Mysqli_fetch_assoc Error : "Warning: Illegal string offset 'name' in" -

javascript - Chart.js - setting tooltip z-index -