remove cache of infoPanel

Description

Current, when open a info window, if after query, number of record < 1000, all record is cache.
i think this behavior maybe make outOfMemmory when infoWindow big, and many people user in same time.
can help me with your advice?

Environment

None

Activity

Show:
Hiep Lq
December 24, 2014, 9:19 AM

please help me review it.

at moment, has two cache.
1. load all record to cache when num of record < 1000
i remove this cache

2. always preload data (at least 4 page before and after current page)
i make it Configurable with default is 2 page

Heng Sin Low
January 19, 2015, 7:52 AM

<= 1000 doesn't really takes up much memory but I'm fine to remove that cache since it does simplify the code.

I think default of 2 page is too little, should cache at least 4/5 page.

Carlos Ruiz
August 13, 2015, 2:31 AM

, as the tests for the other tickets have not failed with many or few records - I think this is working fine.

Just two minor changes:
The SysConfig.java is alphabetically ordered.

And we need to take care to add the new sysconfig key to this page (also alphabetical):
http://wiki.idempiere.org/en/System_Configurator_(Window_ID-50006)
I can help with that before closing this ticket when moved to development.

Hiep Lq
August 15, 2015, 8:51 AM

updated order configurate.
about stable this feature, i will like to do with

Assignee

Hiep Lq

Reporter

Hiep Lq

Labels

Tested By

Carlos Ruiz

Affects versions

Priority

Major
Configure