S Sytek Active Member Licensed User Longtime User Mar 26, 2014 #1 Is it normal that every time that a form is loaded the memory increases about 35mb. ...is there a method to release or load a previous form without increasing the memory? Hello, Thank's in advance. Best Regards!
Is it normal that every time that a form is loaded the memory increases about 35mb. ...is there a method to release or load a previous form without increasing the memory? Hello, Thank's in advance. Best Regards!
Erel B4X founder Staff member Licensed User Longtime User Mar 26, 2014 #2 Test the memory usage in Release mode. Try to open and close the form many times. Eventually the memory usage should become steady. Upvote 0
Test the memory usage in Release mode. Try to open and close the form many times. Eventually the memory usage should become steady.
S Sytek Active Member Licensed User Longtime User Mar 26, 2014 #3 Erel said: Test the memory usage in Release mode. Try to opened and closed the form many times. Eventually the memory usage should become steady. Click to expand... Ok, I'd opened and closed the form about 50 times, and the java.exe memory usage become steady at 283,952 kb. Is this ok?; I mean is reasonable. Thank's in advance Best regards! Last edited: Mar 27, 2014 Upvote 0
Erel said: Test the memory usage in Release mode. Try to opened and closed the form many times. Eventually the memory usage should become steady. Click to expand... Ok, I'd opened and closed the form about 50 times, and the java.exe memory usage become steady at 283,952 kb. Is this ok?; I mean is reasonable. Thank's in advance Best regards!
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2014 #4 283mb sounds quite a lot. However if it is steady then it is fine. It means that the garbage collector let the memory usage rise up to a limit. If there is a memory leak then the memory usage will keep rising until the process crashes. Upvote 0
283mb sounds quite a lot. However if it is steady then it is fine. It means that the garbage collector let the memory usage rise up to a limit. If there is a memory leak then the memory usage will keep rising until the process crashes.
S Sytek Active Member Licensed User Longtime User Mar 28, 2014 #5 Erel said: 283mb sounds quite a lot. However if it is steady then it is fine. It means that the garbage collector let the memory usage rise up to a limit. If there is a memory leak then the memory usage will keep rising until the process crashes. Click to expand... ...Thank's for the reply Uziel Here's the project; Would you please point me in the right direction?, I mean if I run the Customer data files option and close it several times and click in the other window to check memory button the memory grows. (Verify in task bar windows window) Forgive me I'm totally new on java and I need to know if this is correct. Best Regards! Attachments Sytek.zip Sytek.zip 44.5 KB · Views: 408 Upvote 0
Erel said: 283mb sounds quite a lot. However if it is steady then it is fine. It means that the garbage collector let the memory usage rise up to a limit. If there is a memory leak then the memory usage will keep rising until the process crashes. Click to expand... ...Thank's for the reply Uziel Here's the project; Would you please point me in the right direction?, I mean if I run the Customer data files option and close it several times and click in the other window to check memory button the memory grows. (Verify in task bar windows window) Forgive me I'm totally new on java and I need to know if this is correct. Best Regards!
Erel B4X founder Staff member Licensed User Longtime User Mar 28, 2014 #6 The database file is missing. Upvote 0
S Sytek Active Member Licensed User Longtime User Mar 28, 2014 #7 Erel said: The database file is missing. Click to expand... Hello Uziel Thank's for the reply. The database file is in the Files folder and must be copied to the objects folder Best Regards! Last edited: Mar 28, 2014 Upvote 0
Erel said: The database file is missing. Click to expand... Hello Uziel Thank's for the reply. The database file is in the Files folder and must be copied to the objects folder Best Regards!
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2014 #8 Your app looks very nice. I don't see any memory issue. The memory usage is steady. Upvote 0
S Sytek Active Member Licensed User Longtime User Mar 31, 2014 #9 Erel said: Your app looks very nice. I don't see any memory issue. The memory usage is steady. Click to expand... ..Ok Thank's Uziel, I will go on then. Upvote 0
Erel said: Your app looks very nice. I don't see any memory issue. The memory usage is steady. Click to expand... ..Ok Thank's Uziel, I will go on then.