I am trying to create a simulation of an ocean and I need to be able to move fish around based on a background fluid. When I try to do this I get a message saying “Could not run the sketch (Target VM failed to initialize).
Make sure that you haven’t set the maximum available memory too high.
For more information, read revisions.txt and Help ? Troubleshooting.”
This happens after a few seconds of trying to access the fluid’s velocity in the pixelFlow library. It doesn’t seem to matter how many fish I have referencing this fluid, it still takes a similar amount of time. I have tried changing the maximum available memory in preferences but it doesn’t seem to make any difference. Also I have 8G of ram which should be more than enough for what I am trying to do. Any help is appreciated.
Maybe you should try to reduce the memory because that what it says
1 Like
I tried that but it doesn’t seem to have any effect