24

I have been working on a game in java using eclipse for a few months now and I have been trying to figure out how to view the memory usage and what is using the most memory. Can anyone please give me a step by step answer on how I would go about doing this? Thank you.

chooky1441
  • 269
  • 1
  • 2
  • 5
  • What have you tried ? What resources did you read ? Please see http://stackoverflow.com/help/how-to-ask – kebs Jul 06 '15 at 20:39

2 Answers2

44

In eclipse you can try Window --> Preferences --> General --> "Show heap status" checkbox

Gabriel Staples
  • 36,492
  • 15
  • 194
  • 265
Mudassar
  • 3,135
  • 17
  • 22
5

You can use a good monitoring tool like VisualVM.

Moam
  • 176
  • 2
  • 16