Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: peter0601 (simulated) on 22-04-2009 01:22:14 PM Hi folks, I am facing some serious memory problems with the Java Heap memory. I have to monitor about 1000 Cisco IP Phones (models 7921, 7961, 7975, 7911) with the Cisco JTAPI. I need to log a lot of information about the calls and after a few hours i get a message that JAVA HEAP Space is running out of space. Does anyone experience the same sort of problems or is it more likely that the memory leak occurs because of my java code? Cheers Peter
Subject: RE: Java Heap memory leak CIsco JTAPI Replied by: Chikeobi Njaka on 22-04-2009 02:49:37 PM There are two things you can do. The easiest is to increase the heap memory allocation when you run the code by using the -Xmx option java -Xmx128m -jar mycode.jar or something like that. The best way to control heap memory usage is programmatic. Try to unwind your method calls if you can.
Subject: RE: Java Heap memory leak CIsco JTAPI Replied by: David Staudt on 22-04-2009 04:48:07 PM JTAPI is very widely deployed, and 1000+ phone JTAPI sites are not uncommon, so I would be surprised to see significant memory leaks in the JTAPI library under typical scenarios. If you do find a documentable memory leak in JTAPI and can show it with a sample app or code, we'll be glad to take a look.
Subject: RE: Java Heap memory leak CIsco JTAPI Replied by: Peter Burger on 20-09-2010 01:24:12 PM Well just found out that i haven't closed this thread. sorry for that... The problem for the memory leak sat right in front of my keyboard... 😞
JTAPI is very widely deployed, and 1000+ phone JTAPI sites are not uncommon, so I would be surprised to see significant memory leaks in the JTAPI library under typical scenarios.
If you do find a documentable memory leak in JTAPI and can show it with a sample app or code, we'll be glad to take a look.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: