Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » IMP » Memory Exhaustion
Memory Exhaustion [message #18409] Mon, 14 April 2008 10:44 Go to next message
Damien Thivolle is currently offline Damien ThivolleFriend
Messages: 25
Registered: July 2009
Junior Member
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?

Best regards,
Re: Memory Exhaustion [message #18429 is a reply to message #18409] Tue, 15 April 2008 13:36 Go to previous messageGo to next message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
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,

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.

--
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 #18433 is a reply to message #18429] Wed, 16 April 2008 08:27 Go to previous messageGo to next message
Damien Thivolle is currently offline Damien ThivolleFriend
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 Go to previous messageGo to next message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
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 #19353 is a reply to message #19310] Thu, 08 May 2008 10:14 Go to previous message
Jin Missing name is currently offline Jin Missing nameFriend
Messages: 100
Registered: July 2009
Senior Member
good news:)
Re: Memory Exhaustion [message #570224 is a reply to message #18409] Tue, 15 April 2008 13:36 Go to previous message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
Messages: 294
Registered: July 2009
Senior Member
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,

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.

--
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 Go to previous message
Damien Thivolle is currently offline Damien ThivolleFriend
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 Go to previous message
Robert M. Fuhrer is currently offline Robert M. FuhrerFriend
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 #570275 is a reply to message #19310] Thu, 08 May 2008 10:14 Go to previous message
Jin Missing name is currently offline Jin Missing nameFriend
Messages: 100
Registered: July 2009
Senior Member
good news:)
Previous Topic:Javacc Builder
Next Topic:BNF input
Goto Forum:
  


Current Time: Tue Apr 23 15:57:46 GMT 2024

Powered by FUDForum. Page generated in 0.03736 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top