Project: Birt
Bug 180842 Config memory buffer size in data engine execution.
Reported: 2007-04-03 22:41:40 | Status: resolved fixed

To tuning the performance, it is necessary for DtE to expose API for clients to config the size of memory it used to store the final result set. A new AppContext string, "org.eclipse.birt.data.cache.memory.size" is proposed. The new appcontext entry only accept positive integer as input, the unit of which would be MB.

Files changed in fix:
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/api/APITestCase.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/APITestCase.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/NestedQueryTest.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/executor/cache/CacheClobAndBlobTest.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/executor/cache/CacheComputedColumnTest.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/executor/cache/CacheFeaturesTest.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/executor/cache/CacheNestedQueryTest.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/executor/cache/CacheSortTest.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/executor/cache/CacheSubqueryTest.java data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/executor/cache/CachedMultiplePassTest.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/DataEngine.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/CacheUtil.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/ResultObjectUtil.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/SizeOfUtil.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/SmartCacheHelper.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/i18n/ResourceConstants.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/IQueryExecutor.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryExecutor.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ServiceForQueryResults.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/viewing/DummyEventHandler.java data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odi/IEventHandler.java