Home » Archived » IMP » Memory Exhaustion
| |
Re: Memory Exhaustion [message #18433 is a reply to message #18429] |
Wed, 16 April 2008 08:27 |
Damien Thivolle Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Robert M. Fuhrer a écrit :
> Damien Thivolle wrote:
>> Hello,
>>
>> I'm using IMP on a clean installation of Eclipse 3.2.2. I mean that I
>> downloaded and installed Eclipse 3.2.2 only for the purpose of running
>> IMP.
>>
>> I installed IMP (with LPG and Plyglot) with the update-sites.
>>
>> I followed the IMP Users Guide to create my first editor and whenever
>> I edit the KWLexer.gi file that was generated by LPG, I get an out of
>> memory error from Eclipse after entering a few characters. The machine
>> I am using has 1.24 GB of RAM.
>>
>> Any idea where this problem might come from?
>
> Hi there,
Hi,
>
> We're aware of the problem, which was apparently recently introduced. It's
> quite severe, when it happens. Seems to leak about 1Mbyte per keystroke!
> I've tried a couple of times to use the TPTP memory profiler up to see
> what's going on, but I haven't been able to get it to produce any profile
> data yet. We'll post here when we find/fix the problem.
Thank you for the information and good luck with finding the source of
the problem.
To work this out, I used Eclipse text editor to edit the files, and
after I was done, I reopened them with IMP editor so it could check for
errors and generate what needed to be generated.
|
|
|
Re: Memory Exhaustion [message #19310 is a reply to message #18433] |
Wed, 30 April 2008 01:52 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
Just a quick update on this problem:
Once I got a Java heap analyzer running against the Eclipse invocation,
it was trivial to find. The problem was simply one of not balancing
pushes onto a java.util.Stack with the appropriate # of pops in the
class TreeModelBuilderBase. As a result, the AST's that result from
parsing after each edit accumulated endlessly.
The fix is now in the head of SVN trunk. We'll be making a release
fairly soon, after we reset the version #'s of the various features
and plugins (which are presently all at 1.0.*, which implies
something about the maturity of the project/code we're not yet
ready to assert).
Damien Thivolle wrote:
> Robert M. Fuhrer a écrit :
>> Damien Thivolle wrote:
>>> Hello,
>>>
>>> I'm using IMP on a clean installation of Eclipse 3.2.2. I mean that I
>>> downloaded and installed Eclipse 3.2.2 only for the purpose of
>>> running IMP.
>>>
>>> I installed IMP (with LPG and Plyglot) with the update-sites.
>>>
>>> I followed the IMP Users Guide to create my first editor and whenever
>>> I edit the KWLexer.gi file that was generated by LPG, I get an out of
>>> memory error from Eclipse after entering a few characters. The
>>> machine I am using has 1.24 GB of RAM.
>>>
>>> Any idea where this problem might come from?
>>
>> Hi there,
>
> Hi,
>
>>
>> We're aware of the problem, which was apparently recently introduced.
>> It's
>> quite severe, when it happens. Seems to leak about 1Mbyte per keystroke!
>> I've tried a couple of times to use the TPTP memory profiler up to see
>> what's going on, but I haven't been able to get it to produce any profile
>> data yet. We'll post here when we find/fix the problem.
>
> Thank you for the information and good luck with finding the source of
> the problem.
>
> To work this out, I used Eclipse text editor to edit the files, and
> after I was done, I reopened them with IMP editor so it could check for
> errors and generate what needed to be generated.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
|
|
| | |
Re: Memory Exhaustion [message #570238 is a reply to message #18429] |
Wed, 16 April 2008 08:27 |
Damien Thivolle Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Robert M. Fuhrer a écrit :
> Damien Thivolle wrote:
>> Hello,
>>
>> I'm using IMP on a clean installation of Eclipse 3.2.2. I mean that I
>> downloaded and installed Eclipse 3.2.2 only for the purpose of running
>> IMP.
>>
>> I installed IMP (with LPG and Plyglot) with the update-sites.
>>
>> I followed the IMP Users Guide to create my first editor and whenever
>> I edit the KWLexer.gi file that was generated by LPG, I get an out of
>> memory error from Eclipse after entering a few characters. The machine
>> I am using has 1.24 GB of RAM.
>>
>> Any idea where this problem might come from?
>
> Hi there,
Hi,
>
> We're aware of the problem, which was apparently recently introduced. It's
> quite severe, when it happens. Seems to leak about 1Mbyte per keystroke!
> I've tried a couple of times to use the TPTP memory profiler up to see
> what's going on, but I haven't been able to get it to produce any profile
> data yet. We'll post here when we find/fix the problem.
Thank you for the information and good luck with finding the source of
the problem.
To work this out, I used Eclipse text editor to edit the files, and
after I was done, I reopened them with IMP editor so it could check for
errors and generate what needed to be generated.
|
|
|
Re: Memory Exhaustion [message #570262 is a reply to message #18433] |
Wed, 30 April 2008 01:52 |
Robert M. Fuhrer Messages: 294 Registered: July 2009 |
Senior Member |
|
|
Just a quick update on this problem:
Once I got a Java heap analyzer running against the Eclipse invocation,
it was trivial to find. The problem was simply one of not balancing
pushes onto a java.util.Stack with the appropriate # of pops in the
class TreeModelBuilderBase. As a result, the AST's that result from
parsing after each edit accumulated endlessly.
The fix is now in the head of SVN trunk. We'll be making a release
fairly soon, after we reset the version #'s of the various features
and plugins (which are presently all at 1.0.*, which implies
something about the maturity of the project/code we're not yet
ready to assert).
Damien Thivolle wrote:
> Robert M. Fuhrer a écrit :
>> Damien Thivolle wrote:
>>> Hello,
>>>
>>> I'm using IMP on a clean installation of Eclipse 3.2.2. I mean that I
>>> downloaded and installed Eclipse 3.2.2 only for the purpose of
>>> running IMP.
>>>
>>> I installed IMP (with LPG and Plyglot) with the update-sites.
>>>
>>> I followed the IMP Users Guide to create my first editor and whenever
>>> I edit the KWLexer.gi file that was generated by LPG, I get an out of
>>> memory error from Eclipse after entering a few characters. The
>>> machine I am using has 1.24 GB of RAM.
>>>
>>> Any idea where this problem might come from?
>>
>> Hi there,
>
> Hi,
>
>>
>> We're aware of the problem, which was apparently recently introduced.
>> It's
>> quite severe, when it happens. Seems to leak about 1Mbyte per keystroke!
>> I've tried a couple of times to use the TPTP memory profiler up to see
>> what's going on, but I haven't been able to get it to produce any profile
>> data yet. We'll post here when we find/fix the problem.
>
> Thank you for the information and good luck with finding the source of
> the problem.
>
> To work this out, I used Eclipse text editor to edit the files, and
> after I was done, I reopened them with IMP editor so it could check for
> errors and generate what needed to be generated.
--
Cheers,
-- Bob
--------------------------------
Robert M. Fuhrer
Research Staff Member
Programming Technologies Dept.
IBM T.J. Watson Research Center
IMP Team Lead (http://eclipse-imp.sourceforge.net)
X10: Productivity for High-Performance Parallel Programming (http://x10.sf.net)
|
|
| |
Goto Forum:
Current Time: Thu Sep 19 17:00:57 GMT 2024
Powered by FUDForum. Page generated in 0.04622 seconds
|