[
https://issues.apache.org/jira/browse/DIRSTUDIO-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746059#comment-13746059
]
Mikael Grahn commented on DIRSTUDIO-943:
----------------------------------------
Hi,
I have re-installed the application several times today but it was difficult to
remove everything between the re-installation times I have also earlier tried
the solution you have suggested without success.
Anyway, I have now added the string -vmargs -Xms128m -Xmx512m
-XX:PermSize=128m -XX:MaxPermSize=128m and it works now so we can close this
case.
I guess the root cause was that I didn“t removed .ApacheDirectoryStudio folder
on my home directory.
Mikael Grahn
> GC overhead limit exceeded when running an LDIF export
> ------------------------------------------------------
>
> Key: DIRSTUDIO-943
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-943
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldapbrowser
> Affects Versions: 2.0.0-M8 (2.0.0.v20130628)
> Environment: Windows 7
> Reporter: Mikael Grahn
> Priority: Minor
> Fix For: 2.0.0-M8 (2.0.0.v20130628)
>
>
> I try to make a full LDAP export and after some minutes hangs the application
> and an inormation window shows following message:
> An internal error occurred during: "LDIF Export".
> GC overhead limit exceeded
> I found in a file following message:
> !ENTRY org.eclipse.core.jobs 4 2 2013-08-21 11:22:23.931
> !MESSAGE An internal error occurred during: "LDIF Export".
> !STACK 0
> java.lang.OutOfMemoryError: GC overhead limit exceeded
> at java.util.regex.Pattern.newSlice(Unknown Source)
> at java.util.regex.Pattern.atom(Unknown Source)
> at java.util.regex.Pattern.sequence(Unknown Source)
> at java.util.regex.Pattern.expr(Unknown Source)
> at java.util.regex.Pattern.compile(Unknown Source)
> at java.util.regex.Pattern.<init>(Unknown Source)
> at java.util.regex.Pattern.compile(Unknown Source)
> at java.lang.String.replaceAll(Unknown Source)
> at
> org.apache.directory.studio.ldifparser.model.lines.LdifLineBase.unfold(LdifLineBase.java:145)
> at
> org.apache.directory.studio.ldifparser.model.lines.LdifValueLineBase.getUnfoldedValueType(LdifValueLineBase.java:64)
> at
> org.apache.directory.studio.ldifparser.model.lines.LdifValueLineBase.isValueTypeSafe(LdifValueLineBase.java:252)
> at
> org.apache.directory.studio.ldifparser.model.lines.LdifValueLineBase.getValueAsObject(LdifValueLineBase.java:208)
> at
> org.apache.directory.studio.ldapbrowser.core.utils.ModelConverter.ldifAttrValLineToValue(ModelConverter.java:271)
> at
> org.apache.directory.studio.ldapbrowser.core.utils.AttributeComparator.compare(AttributeComparator.java:80)
> at java.util.TimSort.binarySort(Unknown Source)
> at java.util.TimSort.sort(Unknown Source)
> at java.util.TimSort.sort(Unknown Source)
> at java.util.Arrays.sort(Unknown Source)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifRunnable.export(ExportLdifRunnable.java:205)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifRunnable.run(ExportLdifRunnable.java:156)
> at
> org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:119)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira