Hi I have developed a fuzzy model in Matlab and converted in to Java package through Matlab builder JA. The fuzzy system takes four inputs and give one output. all inputs and output are numbers (type double). I am running this fuzzy system in java environment where inputs are generated with another java module.I am getting results when I just run a small loop like only 256 ( that means I am giving 4 inputs 256 times and get one output 256 time in single run).However, If I run the same model with 512 or 1024 times then It does not go through and middle of the program it is mentioned "out of memory error". Please note that I am running this model on high performance machine with 300 GB RAM.I follow the Matlab tutorial to convert the Matlab fuzzy model into java where I have also used dispose method. Could anyone give the reason why fuzzy is taken too much memory and how can I reduce the memory usage? your help in this regard would highly be appreciated
If you're running this on Java only, it's not really a MATLAB question. However, to debug an issue like this one thing you can do is run test inputs through the Fuzzy system in MATLAB and see if there are any issues.
It sounds like there is a memory leak in your program and that may or may not involve the fuzzy system. It is important you determine whether or not it is the cause.
Play games and win prizes!Learn more