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

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -