Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UltraLIteJ memory usage and large table

13 views
Skip to first unread message

roku

unread,
Aug 11, 2011, 4:46:48 PM8/11/11
to
Hi,

I currently use the UltaLiteJ Java SE client generated by SUP
WorkSpace. I synchronized about 300000 rows to the client. I had to
give the client -Xmx256m. Less that that I got OutOfMemoryError. I
also played around with the setCacheSize etc, but nothing helped. Is
UltraLiteJ 11.x loading the hole DB into mem?

Any Ideas whats wrong here?

Rolf Kulemann

unread,
Aug 12, 2011, 4:54:51 AM8/12/11
to

NOTE: The Exception is thrown from inside PsTable.ensureLoaded().
Seems That ULJ tries to load all rows of tables there. All that is far
away from a low memory footprint.

Rolf Kulemann

unread,
Aug 12, 2011, 5:17:09 AM8/12/11
to
Today I made a more isoltaed test with ulj version 12. If I insert
300.000 records the mem usage grows up to 100mb. I succeeded in using

configFile.setCacheSize(configFile.getPageSize()*5);
configFile.setRowScoreFlushSize(10);
configFile.setRowScoreMaximum(100);

to reduce the mem usage to 70mb. Is it possible to configure ulj so
that it won't use more than 32mb nevertheless how many rows get
inserted for example?

0 new messages