I have a database with a table filled with about 10000 records.
When I do a search on a record, it replies properly. But when I do not fill in any query, the application runs out of memory and quits.
Does anybody know why that is? Do I have to reduce the set somehow?jun 03 15:44:34 canonbeheerext[60006] (ERXNSLogLog4jBridge.java:44) DEBUG NSLog - === Begin Internal Transaction jun 03 15:44:34 canonbeheerext[60006] (ERXNSLogLog4jBridge.java:44) DEBUG NSLog - evaluateExpression: <com.webobjects.jdbcadaptor.PostgresqlExpression: "SELECT t0.bankbookdet_id, t0.certificatePrinted, t0.confirmation_sent, t0.reservation_id, t0.testPassedDate, t0.training_id, t0.usertested, t0.vouchercreated, t0.voucherid, t0.vouchernumber FROM voucher t0"> jun 03 15:44:41 canonbeheerext[60006] (?:?) DEBUG NSLog - fetch canceled jun 03 15:44:44 canonbeheerext[60006] (?:?) DEBUG NSLog - 68831 row(s) processed jun 03 15:44:48 canonbeheerext[60006] (ERXNSLogLog4jBridge.java:41) WARN NSLog - <com.webobjects.appserver._private.WOComponentRequestHandler>: Exception occurred while handling request: com.webobjects.foundation.NSForwardException [java.lang.OutOfMemoryError] Java heap space [2008-06-03 15:44:48 CEST] <WorkerThread0> com.webobjects.foundation.NSForwardException for java.lang.OutOfMemoryError: Java heap space
at java.lang.Throwable.getOurStackTrace(Throwable.java:590)
at java.lang.Throwable.printStackTrace(Throwable.java:511)
at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:105)
at
org
.apache
.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:191)
at org.apache.log4j.helpers.PatternParser
$LocationPatternConverter.convert(PatternParser.java:483)
at
org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:
64)
at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:
230)
at
org
.apache
.log4j
.helpers
.AppenderAttachableImpl
.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.debug(Category.java:257)
at
er.extensions.ERXNSLogLog4jBridge.appendln(ERXNSLogLog4jBridge.java:44)
at
com
.webobjects
.eoaccess.EOAdaptorContext.transactionDidCommit(EOAdaptorContext.java:
486)
at
com
.webobjects.jdbcadaptor.JDBCContext.commitTransaction(JDBCContext.java:
422)
at com.webobjects.jdbcadaptor.JDBCChannel._endFetch(JDBCChannel.java:
375)
at
com.webobjects.jdbcadaptor.JDBCChannel.cancelFetch(JDBCChannel.java:472)
at
com
.webobjects
.eoaccess
.EODatabaseChannel._cancelInternalFetch(EODatabaseChannel.java:706)
at
com
.webobjects
.eoaccess.EODatabaseChannel.cancelFetch(EODatabaseChannel.java:556)
at
com
.webobjects
.eoaccess.EODatabaseChannel._fetchObject(EODatabaseChannel.java:436)
at
com
.webobjects
.eoaccess
.EODatabaseContext
._objectsWithFetchSpecificationEditingContext(EODatabaseContext.java:
3221)
at
com
.webobjects
.eoaccess
.EODatabaseContext
.objectsWithFetchSpecification(EODatabaseContext.java:3346)
at
com
.webobjects
.eocontrol
.EOObjectStoreCoordinator
.objectsWithFetchSpecification(EOObjectStoreCoordinator.java:539)
at
com
.webobjects
.eocontrol
.EOEditingContext.objectsWithFetchSpecification(EOEditingContext.java:
4114)
at er.extensions.ERXEC.objectsWithFetchSpecification(ERXEC.java:1090)
at
com
.webobjects
.eoaccess.EODatabaseDataSource.fetchObjects(EODatabaseDataSource.java:
633)
at com.webobjects.appserver.WODisplayGroup.fetch(WODisplayGroup.java:
2191)
at
com.webobjects.directtoweb.D2WListPage.setDataSource(D2WListPage.java:
196)
at
com.webobjects.directtoweb.D2WQueryPage.queryAction(D2WQueryPage.java:
183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jun 03 15:44:48 canonbeheerext[60006] (ERXNSLogLog4jBridge.java:41)
WARN NSLog - Ran out of memory, killing this instance
jun 03 15:44:48 canonbeheerext[60006] (ERXApplication.java:1384) ERROR
er.extensions.ERXApplication - Ran out of memory, killing this instance
Regards, Johan Henselmans http://www.netsense.nl Tel: +31-20-6267538 Fax: +31-20-6279159
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
