[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057053#comment-16057053
 ] 

Stefan Seelmann commented on DIRSTUDIO-1148:
--------------------------------------------

I was misled by the "Updater", but actually it has nothing to do with the 
update mechanism.

It seems the problem is the console where we show the content of the ApacheDS 
log file. I was able to reproduce the error by putting 100MB of junk data into 
the apacheds.log, then when starting the ApacheDS server the console view goes 
crazy, loads the log file, scrolls to the end, takes 100% CPU for some time, 
then the error occurs.

Can you please check if the apacheds.log of your ApacheDS servers is large? To 
find out the location just right-click on the server and select "Properties", 
then in the dialog you see the location, there the logfile is in "log" folder 
called apacheds.log. Do that for each of the servers you have in Studio. If one 
is large you can just delete them, they are recreated when the server starts.

If they are large then the question is why? Did you change log level of the 
servers? Or are there many errors logged?

I'll also investigate how to avoid that, either introduce log rotation, or 
limit the number of lines shown in the console view.

Probably that even happens if console view is not visible, I also have ot check 
that.


> IOConsole Updater - An internal error has occurred.Java heap space
> ------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1148
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1148
>             Project: Directory Studio
>          Issue Type: Bug
>         Environment: Windows 10 64bit, Apache Directory Studio 2.0.0 M12, 
> ApachDS 2.0.0 M23, and Java version 8 update 131 (build 1.8.0_131-b11)
>            Reporter: Milad Hamid
>            Priority: Critical
>              Labels: apache, directory, heap, java, memory-leak
>         Attachments: JavaHeapSpaceError.png, screenshot-1.png, 
> screenshot-2.png
>
>
> Hi, 
> When I run Apache Directory Studio i got this error message: IOConsole 
> Updater - An internal error has occurred.Java heap space
> I tried to solve the problem by adding parameters within 
> apachedirectorystudio.ini configuration file as it is sated on FAQs web page: 
> http://directory.apache.org/studio/faqs.html#how-to-increase-the-heap-memory 
> also i add the Java VM path into apachedirectorystudio.ini. But it doesnt 
> work i get this error. Please if you can help with this error. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to