Re: out of memory error
Martin Klang <[email protected]> Sat, 30 Jul 2005 10:44:41 +0100
| Newsgroups | gmane.text.xml.o-xml |
|---|---|
| Message-ID | <[email protected]> |
Hi Laura, There's no known memory leak in ObjectBox, and the approach you're using sounds right. Since the program proxy caches the compiled programs, the memory usage will of course go up with the number of different programs called. But subsequent calls to the same program(s) shouldn't affect overall memory usage. I've noticed memory problems with certain versions of Tomcat, especially in combination with mod_jk. What version are you using? If you send the relevant source, either to me or the list, then I'll have a look at it. Also, do you mind if I ask, out of curiosity, what you're using o:XML for? regards, /m On 29 Jul 2005, at 21:13, Laura Demange wrote: > I have been having problems with out of memory errors using > o:XML in web services using axis in tomcat. The web services are > written in java and work as follows: When one of its methods is > called, it gets the corresponding o:XML program (using > ProgramProxy), adds java and database extensions, then compiles the > program and runs it with a custom result handler. The out of > memory error occurs after numerous/frequent requests to the service. > > I was just wondering if anyone else has had a similar problem, > or if there is a known memory leak in o:XML? Any ideas or help > would be appreciated. I can provide more info and/or source code if > needed. > > > > Thanks, > > Laura >