[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [platform-core-dev] How much memory can a Workspace take?
|
- From: James Blackburn <jamesblackburn@xxxxxxxxx>
- Date: Tue, 29 Sep 2009 11:37:58 +0100
- Delivered-to: platform-core-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MdSc0c5nEda8obdXdUyjjNTM4R73aVtOnwZmnPx9jcA=; b=xTB05g0GbKL6c8UzCpHIJibbihB0hKPIjwJsSAwgVKDbsPivc32Uk5UqubURxiofz2 mr7/sG8RT6CDlznP2nyp2XgOlj1Nlmo1iDN8b8U1gxRuJ7IydQ1Lm/XtsAzqcgYZTcNl uT2d7BlnXMm7jup1UQSvsf4ED+cjENwtIlZDw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=F/M5JV1SS4zWUzgv8vdS0eSSfsOZUpZRNEm2wdh08pxOv5lTDcsvrRMgPvlqXgBL41 NCiXZ19GZuM840S7BayH9ptNUmDJii8omFcY5rhJH9qcXhIXD1bJtZO7ngnpmeHaNd5o gb3yhy1sXalxr4n+9tZ4dSl9lQfSaEE5cvQyU=
Hi Martin,
I'm afraid I don't have any concrete answers, though I can point you
at the bug where we (and others) have seen similarly large
DeltaDataTrees having performed a build:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245008
Cheers,
James
2009/9/29 Oberhuber, Martin <Martin.Oberhuber@xxxxxxxxxxxxx>:
> Hi fellow committers,
>
> I got a report about an OutOfMemoryError generated during a Workspace
> Refresh operation. When looking at the .hprof file with the MemoryAnalyzer,
> it turned out that pretty much all the memory was taken by core/Workspace
> only:
>
> 100 MB (53%) in org.eclipse.core.internal.resources.Workspace (occupied by
> ElementTree)
> 52 MB (27%) in org.eclipse.core.internal.dtree.DeltaDataTree (this is a
> different additional DeltaDataTree)
> 37 MB all the rest
>
> The workspace was arguably very large, but still I am surprised
>
> that the numbers are that large
> that in addition to the Workspace, there is such a large additional
> DeltaDataTree,
> that I see an OutOfMemoryError reported with 189MB total where I used
> -vmargs -Xmx320m ... what happened to the extra 131MB ?
>
> Do my numbers sound reasonable, or could there be a bug that leads the
> Workspace to take an excessive amount of memory? How much memory do we
> expect a workspace to take for, say 50000 files? How much *additional*
> memory may a workspace delta take that is generated during a Refresh? Would
> any additional investigation using the Coretools make sense at this point?
>
> I can make the .hprof file available on request (it's a 200MB ZIP file).
>
> Many thanks for any pointers!
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
> _______________________________________________
> platform-core-dev mailing list
> platform-core-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-core-dev
>
>