This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stack and heap memory

 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to find out the stack memory and the heap memory ?

There are two methods in the runtime calss namely : totalMemory() and maxMemory().
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic