Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epp-dev] MAT in Java-based packages

Hi there,

I’m late but I would like to evaluate wheter we could use MAT’s reports to (automatically) analyze OutOfMemoryErrors in Eclipse. These reports (or at least parts of it) would then be attached to the error report and uploaded to eclipse.org.


My idea would be to put this into the committers package once its written - any maybe only for the Oxygen milestone builds.


Gunnar (as package maintainer),
what do you think?

Marcel


On 24 Aug 2016, at 21:00, Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx> wrote:

AFAIK it's creating and using a Lucene based index. 

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx, http://guw.io/






On 24 Aug 2016, at 17:21, Doug Schaefer <dschaefer@xxxxxxxxxxxxxx> wrote:

When indexing very large projects CDT produces a very large index. It’s a single file with a hand rolled database. We get around OOM errors by memory mapping chunks of the file and limiting how much we map at a given time. We had thought it would slow down access but it’s hardly noticeable.

Mind you with 64-bit now, in theory, you could memory map the whole thing. It doesn’t count against the Java heap, just the process address space. If MAT isn’t doing that, we should spend some time investing in it so that it does.

Doug.

From: <epp-dev-bounces@xxxxxxxxxxx> on behalf of Gunnar Wagenknecht <gunnar@xxxxxxxxxxxxxxx>
Reply-To: Eclipse Packaging Project <epp-dev@xxxxxxxxxxx>
Date: Wednesday, August 24, 2016 at 5:21 AM
To: Eclipse Packaging Project <epp-dev@xxxxxxxxxxx>
Subject: Re: [epp-dev] MAT in Java-based packages


On 24 Aug 2016, at 11:09, Mickael Istria <mistria@xxxxxxxxxx> wrote:

How does MAT handle huge dumps? Does it crash the application with an OOM or gently says it's sorry and not able to process such big files without more memory?

It does try to handle them but at some point OOM occurs and the standard Eclipse dialog pops up suggesting to close/restart the workbench.

-Gunnar
_______________________________________________
epp-dev mailing list
epp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/epp-dev

_______________________________________________
epp-dev mailing list
epp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/epp-dev

-- 
Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-179-131-7721
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940


Back to the top