|[SOLVED] Hello, I have hit the "...exceeding the 65535 bytes limit". Any help? [message #1792658]
||Fri, 20 July 2018 14:55
| Pratiksha Dalal
Registered: May 2018
I posted this originally in Sirius forum only to realize that this is actually EMF problem.
My project requires hundreds of variables and when I defined them in the ecore and generated the edit/editor codes, I am getting the error "The code of method <my package>.. is exceeding the 65535 bytes limit" error.
Has anybody come across this? Any possible solutions?
I tried splitting my ecore in to multiple, but looks too complex to define them in one genmodel (base classes in one ecore while derived classes in another etc).
The problem is that the genmodel tries to initialize all the variables defined in main package and sub-package in the same method and that's creating problems. In my opinion, the genmodel should have created separate methods to initialize variables in subpackages.
Pointers to any solution or section of any tutorial that touches these aspects, would greatly appreciated!
[Updated on: Mon, 23 July 2018 09:51]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01815 seconds