You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/08/02 18:10:53 UTC

[jira] Updated: (HARMONY-2752) [classlib][text] RulesBasedCollator uses too much memory

     [ https://issues.apache.org/jira/browse/HARMONY-2752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison updated HARMONY-2752:
---------------------------------


Just reproducing the ICU team comment here for convenience.  They closed it as won't fix.

"This works as designed. Some of the rules can get really large and complicated. If you want a collator that works with less memory, don't use the rules and open a collator based on the locale."

> [classlib][text] RulesBasedCollator uses too much memory
> --------------------------------------------------------
>
>                 Key: HARMONY-2752
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2752
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: Windowx Xp i686
>            Reporter: Salikh Zakirov
>         Attachments: Coll.java
>
>
> The attached test Coll.java exercises constructor of java.text.RulesBasedCollator,
> by getting the rules from the all available locales, and the creating the new collator from the same rules.
> With J9 + Harmony, the test fails with OutOfMemoryError on heap size -Xmx16m, and passes on 32m
> With DRLVM, the test fails on heap sizes 16m and 32m, and passes on 64m
> On Hotspot and JRockit, the test passes even with -Xmx16m

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.