|
Re: [ATL] Memory error [message #837078 is a reply to message #837071] |
Thu, 05 April 2012 08:45   |
Eclipse User |
|
|
|
http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F
On 05/04/2012 09:35, Olivier wrote:
> Hello everyone,
>
> i needed to write a model transformation and thought it would be a good opportunity to familiarize myself with ATL.
>
> So I wrote this transformation, transforming a UML activity diagram into a model representing a CSP program.
>
> My problem is that when I try to launch it it goes quickly to 57% and after a few seconds I have a popup indicating an internal error, and when I click for more information I have this message :
>
> Quote:
>> An internal error occurred during: "Launching New_configuration".
>> Java heap space
>
> I tried to transform a small basic model and have the same result.
> To only possbility is that I have made an error, but I can't find it.
>
> Perhaps you can find the big mistake I made in my code since you are more used to ATL.
>
> Here is my entire project.
>
> Thanks in advance. :)
|
|
|
|
Re: [ATL] Memory error [message #837119 is a reply to message #837096] |
Thu, 05 April 2012 09:39   |
Eclipse User |
|
|
|
Hi
I'n not an ATL user, so I cannot help you specifically, but if you have
a genuine error you need to obtain a stack trace, and then the locality
of the problem may be clear. You may also find VisualVM useful to
identify particularly profligate allocations. *ResourceSet* (less than
5) and *Resource* (less than 100 of any kind) are good starting checks.
Regards
Ed Willink
On 05/04/2012 10:09, Olivier wrote:
> Thanks for your answer.
>
> I already tried it and the only difference is that it takes longer for
> the error to appear.
>
> And anyway even with the initial setting it is not normal to have a
> memory error while manipulating such small models.
> In my opinion, I have something like an infinite loop in the
> transformation code. :(
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04681 seconds