I suspect this may have been an issue with the Java version (although I don't know why). After upgrading from Java 8u161 to OpenJDK 13, I have not been able to reproduce the problem. Hopefully that turns out to be the fix!
Thanks, Dave On Mon, Sep 30, 2019 at 4:39 PM David Parker <[email protected]> wrote: > Hello, > > I deleted my ~/.ApacheDirectoryStudio directory entirely, and started from > scratch. I added back my two LDAP connections (it's actually the same > directory with two different levels of privileges). My > ~/.ApacheDirectoryStudio is now 1.6 MB total. I still get the heap space > error on launch, using -Xms128m -Xmx512m. > > The schema for this LDAP directory hasn't really changed in several > years. The directory itself has grown in terms of the umber of records, > but the schema has remained the same. So why am I suddenly getting this > memory error when it was always fine before? > > Any help is greatly appreciated! > > Thanks! > Dave > > > On Mon, Sep 30, 2019 at 10:41 AM David Parker <[email protected]> wrote: > >> Hello, >> >> Thanks for the suggestions. Unfortunately, my entire >> ~/.ApacheDirectoryStudio directory is only 7 MB: >> >> $ du -h -d0 ~/.ApacheDirectoryStudio/ >> 7.0M /home/dparker/.ApacheDirectoryStudio/ >> >> The schemas are each around 500K and none of the logs are out of control. >> >> - Dave >> >> On Sat, Sep 28, 2019 at 1:49 PM Stefan Seelmann <[email protected]> >> wrote: >> >>> Hi Dave, >>> >>> that's clearly not normal and it should launch with less than 500MB. >>> >>> One idea I have is maybe one of the server's schemas is so large? It's >>> cached on disk and loaded when Studio is launched. The cached schemas >>> are located in >>> >>> ~/.ApacheDirectoryStudio/.metadata/.plugins/org.apache.directory.studio.ldapbrowser.core >>> >>> There was also an issue with too large logfiles that were loaded during >>> startup (https://issues.apache.org/jira/browse/DIRSTUDIO-1148), maybe >>> you can check if that's the case: >>> du -h -d0 ~/.ApacheDirectoryStudio/ >>> du -h -d1 ~/.ApacheDirectoryStudio/.metadata/.plugins >>> >>> Kind Regards, >>> Stefan >>> >>> >>> On 9/27/19 10:35 PM, David Parker wrote: >>> > Hello, >>> > >>> > I recently installed the most recent Directory Studio on my PC running >>> > Linux. Here are the release details: >>> > >>> > Apache Directory Studio >>> > Version: 2.0.0.v20180908-M14 >>> > OS: Linux, v.4.19.0-6-amd64, x86_64 / gtk 2.24.32 >>> > Java version: 1.8.0_161 >>> > >>> > I was using an older version before without any problems. But with >>> the new >>> > version, I frequently get "java.lang.OutOfMemoryError: Java heap space" >>> > errors when launching with the default memory settings, or even those >>> > recommended in the FAQ to resolve this error (-Xms128m -Xmx512m). I >>> have >>> > to bump the max heap up to 2 GB before it will launch. With jconsole, >>> I >>> > can see that it's using 1.6 GB of heap memory immediately after launch. >>> > >>> > I only have 3 LDAP connections configured. It just doesn't seem like >>> > Directory Studio should require 2 GB of memory just to start up. Does >>> > anyone know why this is happening? >>> > >>> > Thanks, >>> > Dave >>> > >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >> -- >> Dave Parker '11 >> Database & Systems Administrator >> Utica College >> Integrated Information Technology Services >> (315) 792-3229 >> Registered Linux User #408177 >> > > > -- > Dave Parker '11 > Database & Systems Administrator > Utica College > Integrated Information Technology Services > (315) 792-3229 > Registered Linux User #408177 > -- Dave Parker '11 Database & Systems Administrator Utica College Integrated Information Technology Services (315) 792-3229 Registered Linux User #408177
