Skip to main content
Participant
May 4, 2006
Question

CFMX 7 Verity Custom Collection Problems

  • May 4, 2006
  • 1 reply
  • 321 views
Under CFMX 7 when attempting to pass a query to a Verity custom collection I keep hitting a "java.lang.OutOfMemoryError" after indexing runs for about 2 hours.

I've tried with no sucess.
* inside a loop passing anywhere between 50 and 1000 records at a time with the goal of 2500 records total.
* increasing the JVM's heap size to a gigabyte and the permanent object collection to half a gig.

This is my JVM configuration:
java.args=
-Xmx1024M
-server
-Dsun.io.useCanonCaches=false
-XX:MaxPermSize=512m
-XX:+UseParallelGC
-DJINTEGRA_NATIVE_MODE
-DJINTEGRA_PREFETCH_ENUMS
-Dcoldfusion.rootDir={application.home}/)

Anyone have any suggestions?
This topic has been closed for replies.

1 reply

Participating Frequently
October 13, 2006
Upgrade your servers memory to at least 2gig. Indexing DB tables is very memory intensive. Having read documentation from Adobe when you index a DB you basically are indexing twice once to gather the info from the tables and again to create the index from the gathered info. Indexing directories of files cuts the time in half.