Table Grid

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Table Grid

Andreas Ernst
Hi,

it seems that the Table Grid crashes with more that 300 000 rows.

Testet with 5.5.0 and 5.6.0.

I used Payara Server 5.201 and 5.2020.4. The server died sometimes with
error message like

[ERROR] TapestryModule.RequestExceptionHandler Processing of request
failed with uncaught exception: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

Should i open a ticket or is this a limit of Grid?

Thx
Andy
--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
[hidden email] | www.ae-online.de
www.tachyon-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Table Grid

Andreas Ernst


Am 05.09.20 um 08:59 schrieb Andreas Ernst:

> Hi,
>
> it seems that the Table Grid crashes with more that 300 000 rows.
>
> Testet with 5.5.0 and 5.6.0.
>
> I used Payara Server 5.201 and 5.2020.4. The server died sometimes with
> error message like
>
> [ERROR] TapestryModule.RequestExceptionHandler Processing of request
> failed with uncaught exception: java.lang.OutOfMemoryError: Java heap space
> java.lang.OutOfMemoryError: Java heap space

Maybe it not a Tapestry issue:

[ERROR] TapestryModule.RequestExceptionHandler Processing of request
failed with uncaught exception: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
         at java.util.HashMap.resize(HashMap.java:704)
         at java.util.HashMap.putVal(HashMap.java:663)
         at java.util.HashMap.put(HashMap.java:612)
         at
org.eclipse.persistence.internal.identitymaps.UnitOfWorkIdentityMap.putCacheKeyIfAbsent(UnitOfWorkIdentityMap.java:146)
         at
org.eclipse.persistence.internal.identitymaps.UnitOfWorkIdentityMap.acquireLock(UnitOfWorkIdentityMap.java:72)
         at
org.eclipse.persistence.internal.identitymaps.IdentityMapManager.acquireLock(IdentityMapManager.java:184)
         at
org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildWorkingCopyCloneFromRow(ObjectBuilder.java:2150)
         at
org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObjectInUnitOfWork(ObjectBuilder.java:858)
         at
org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:745)
         at
org.eclipse.persistence.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:699)
         at
org.eclipse.persistence.queries.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:861)
         at
org.eclipse.persistence.queries.ReadAllQuery.registerResultInUnitOfWork(ReadAllQuery.java:987)
         at
org.eclipse.persistence.queries.ReadAllQuery.executeObjectLevelReadQuery(ReadAllQuery.java:598)
         at
org.eclipse.persistence.queries.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:1232)
         at
org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:911)
         at
org.eclipse.persistence.queries.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:1191)
         at
org.eclipse.persistence.queries.ReadAllQuery.execute(ReadAllQuery.java:485)
         at
org.eclipse.persistence.queries.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:1279)
         at
org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2983)
         at
org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1898)
         at
org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1880)
         at
org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1845)
         at
org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:262)
         at
org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.java:482)
         at
de.aeits.extranet.pages.HeizungListe.getHeizungen(HeizungListe.java:35)
         at $InternalPropertyConduit_9f12289a8c1a.get(Unknown Source)
         at
org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63)
         at
org.apache.tapestry5.internal.transform.ParameterWorker$3$1.readFromBinding(ParameterWorker.java:263)
         at
org.apache.tapestry5.internal.transform.ParameterWorker$3$1.get(ParameterWorker.java:381)
         at
org.apache.tapestry5.corelib.components.Grid.conduit_get_source(Grid.java)
         at
org.apache.tapestry5.corelib.components.Grid.setupDataSource(Grid.java:553)
         at
org.apache.tapestry5.corelib.components.Grid.setupRender(Grid.java:513)

I will investigate.

--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
[hidden email] | www.ae-online.de
www.tachyon-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Table Grid

Andreas Ernst
Am 05.09.20 um 09:12 schrieb Andreas Ernst:

>
>
> Am 05.09.20 um 08:59 schrieb Andreas Ernst:
>> Hi,
>>
>> it seems that the Table Grid crashes with more that 300 000 rows.
>>
>> Testet with 5.5.0 and 5.6.0.
>>
>> I used Payara Server 5.201 and 5.2020.4. The server died sometimes
>> with error message like
>>
>> [ERROR] TapestryModule.RequestExceptionHandler Processing of request
>> failed with uncaught exception: java.lang.OutOfMemoryError: Java heap
>> space
>> java.lang.OutOfMemoryError: Java heap space

Setting -Xmx2048m on Payara solved the issue, sorry for the noise...

--
ae | Andreas Ernst | IT Spektrum
Postfach 5, 65612 Beselich
Schupbacher Str. 32, 65614 Beselich, Germany
Tel: +49-6484-91002 Fax: +49-6484-91003
[hidden email] | www.ae-online.de
www.tachyon-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]