kodr
Programmer
- Dec 4, 2003
- 368
I've got a few applications that run daily, that I use to track equipment utilization (port counts, used vs. available), stuff like that.
The number of nodes (equipment) is steadily growing, as the network gets larger.
I'm starting to have to allocate more memory for these programs (-Xms...m -Xmx...m) and this is working fine. Right now there's an abundance of memory, so I'm not too worried about it.
I'm in the process of changing from relying pretty heavily on array's to different data structures (Linked lists and so on) to make the programs more dynamic (that's what happens when you start to develop a program in a language BEFORE you take a data structures course...)
So, my question is this, I'd like to be able to review the amount of memory a particular program is actually using when it runs, and generate some type of file that I could review. Can anyone point me in the right direction?
What I'd like to accomplish is to be able to determine ahead of time when the data a program uses begins to approach an upper threshold, instead of waiting for the day that the program just crashes due to lack of resources.
Thanks.
The number of nodes (equipment) is steadily growing, as the network gets larger.
I'm starting to have to allocate more memory for these programs (-Xms...m -Xmx...m) and this is working fine. Right now there's an abundance of memory, so I'm not too worried about it.
I'm in the process of changing from relying pretty heavily on array's to different data structures (Linked lists and so on) to make the programs more dynamic (that's what happens when you start to develop a program in a language BEFORE you take a data structures course...)
So, my question is this, I'd like to be able to review the amount of memory a particular program is actually using when it runs, and generate some type of file that I could review. Can anyone point me in the right direction?
What I'd like to accomplish is to be able to determine ahead of time when the data a program uses begins to approach an upper threshold, instead of waiting for the day that the program just crashes due to lack of resources.
Thanks.