Open robstewart57 opened 9 years ago
I should add, the exceptions are thrown when running eclipse with a 512Mb heap. When running with a 1024Mb heap, compilation runs forever (I waited for 30 minutes) and in that time did not throw an error.
I tested too, Forge does not like so much nested ifs, i would suggest you to implemented as an array, it will be faster and less logic, I think that the problem come from the scheduling of the operators in LIM. I would investigate that after my thesis.
The following actor contains a procedure that implements a lookup table with a sequence of
if
statements: https://gist.github.com/robstewart57/436cb0fb0dfd880a4c01The complete project is here: http://www.macs.hw.ac.uk/~rs46/files/xronos-example.zip
The compiler fails with either a heap exception or GC exception. This is the stack trace: