Batchprocessor out of memory

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

Batchprocessor out of memory

Postby martinh » Tue Jan 18, 2011 4:06 pm

It happens several times that a batchprocessor gets out of memory:

Which setting can I change so that this doesn't happen anymore?

The batch processor that gets this error, is reading a XML-document of 50MB into memory and processes it.
The processing is splitted into several smaller transactions.
There is enough memory on the server.

MaxClientHeap=512m

But it seams that 512m is not enough for this, unless there is some other setting that is being used.

I also noticed that when this happens, the batchprocessor is still visible as client, but when I look at batchprocessor, it says that it is not running.

And when I restart this batchprocessor 2 or 3 times, then even the application server restarts itself.

What can I do about this to avoid this (except smaller files :D )

Martin
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Batchprocessor out of memory

Postby jcompagner » Tue Jan 18, 2011 7:01 pm

batch processors run on the server so setting the maxclientheap on something doesn't affect that.

you have to up the memory of the server, see the batch file (or sh) or the wrapper conf for that. (depending on how you start your server)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 4 guests