jcompagner wrote:How much memory do you have assigned to Servoy developer?
In 6.0 you do need more memory then in 5.2 because there a loads more generated (The whole Type structure of all the types that are possible are generated when needed and thats quite a lot)
I am testing with a big solution, will do some more testing, but can you look what really triggers it for you?
I personally use the default memory setting which comes in when installing Servoy (not sure how much is that, looks like 512MB)
I just had to restart the Servoy Developer again due to the same issue. Before the prior crash, I moved several from variables which are meant to be used as constants to a different form and I wanted to change all references to them. And 2 crashes before that I set all warnings to "Ignore" hoping that it could help a bit with the memory issue (there were still a bunch of JSDoc warning showing up though). This time all I really was doing is this:
1. Open a form script, selected a form variable and used the option Ctrl+Shift+G to find all references to it.
2. From the search result pane double-click on the found entries which opens the respective script file.
3. Make adjustments to the referenced code, save the file and close its tab so I am back to the first file.
4. Repeat the same with the next found references
5. Repeat the same with another form variable
I know that Search & Replace can do some of that as well and this is what I tried first when I got the first crash. So I decided to try this approach but after working on less than half a dozen files the Servoy Developer memory was back at about 490MB so I just closed it and reopen again... Kind of frustrating experience today with the crashes.... Up to now I did not notice such issues with Servoy 6 but I did not try to use these new options extensively before - hence the suspicion that they have to do something with it.
Some additional info: The solution which I am working on at the moment is quite big (~200000 LOC in the .js files) with about 40 modules in the whole workspace, the active solution referencing about 20 other modules.