[jboss-jira] [JBoss JIRA] Commented: (JBRULES-1095) Deserializing Package Objects Consumes Large Amount of Memory

Mark Proctor (JIRA) jira-events at lists.jboss.org
Mon Mar 17 11:45:51 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBRULES-1095?page=comments#action_12403165 ] 
            
Mark Proctor commented on JBRULES-1095:
---------------------------------------

Merging from ming-serialization branch.
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19005

http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19006

recovered from merging.
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19007

compiled after merge, 2 test fail.
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19008

compiled after merge, fixed the tests.
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19009

merged code compiled, 3 tests failing.
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19010

merged code compiled, core tests fixed
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19011

merged code compiled, commented out failed tests for now: CepEspTest and StreamsTest
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19012

added read/writeExternal's to support Externalizable
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19014

changes due to serialization merge; need to fix the tests.
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19015

added @FIXME_ to commented out assert's
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19016

added @FIXME_ to commented out assert's
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19017

using DroolsObjectOutputStream to generates bytes
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19018

using DroolsObjectOutputStream to generates bytes
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19019

cleanup.
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19020

missed in merging for serialization
http://fisheye.jboss.org/changelog/JBossRules/trunk?cs=19023

> Deserializing Package Objects Consumes Large Amount of Memory
> -------------------------------------------------------------
>
>                 Key: JBRULES-1095
>                 URL: http://jira.jboss.com/jira/browse/JBRULES-1095
>             Project: JBoss Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Drl Parser/Builder
>    Affects Versions:  4.0.0.GA
>         Environment: Windows
>            Reporter: Ming Jin
>         Assigned To: Mark Proctor
>             Fix For: 5.0.0-M1
>
>         Attachments: testdrools.zip
>
>
> Deserializing the Package objects from storage to memory consumes large amount of memory.  My tests showed that for a serialized size of 1MB, 18MB of memory would be consumed during deserialization, mostly from the method org.drools.rule.Package.readExternal.  A test program with resulting profile data would be uploaded.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list