by bobpee » Fri Nov 14, 2008 11:49 am
Hi Johan,
Thanks very much for the insight. We have tried running the client by setting the maxClientHeap=1000 on the admin-page, but Servoy( vers 4.1b6 and earlier 4.1 betas) wouldn't
go beyond the java heap memory settings found in
<Servoy installation folder>\developer\servoy.ini :
launcher.XXMaxPermSize 256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m
-XX:MaxPermSize=256M
We're able to increase the default setting of 256mb in the above .ini file, but not beyond 512mb, which would have been good for us.
The fact is that we have enough ram memory on our test server, leftover (after the normal consumption that Servoy will need to run) for the task we're dealing with now. We ain't able to make use of this leftover mem. b'cos it appears impossible to go beyond 512mb.
Why do we need so much memory? First of all, the extra memory settings that we need now may not be that much when we get our final solution working.
We need that much memory b'cos we need to run preliminary queries to prepare our data for our final solution. Our final solution, I suppose will have the 'normal' settings that ships with Servoy as default.
Having said that, some of our preliminary queries return datasets which contain millions of recs. per query.
These datasets will then have to be wholly further processed to maintain data integrity. This is where we do get "OutOfMemoryError" errors.
FYI, our queries in this case are not necessarily run in batches, we run them one at a time, at least for now.
We need more insights!
Bob Prah,
[Servoy 5.2.4 - build 1006]