Announcement
Collapse
No announcement yet.
System.OutofMemoryException 4.2.5.0
Collapse
X
-
Could you elaborate on script changes that reduced your memory usage?- DevicesArrayE.Clear()
- DVAddress = Nothing
And also a proper handling of mysql connections, where in the end the connection is closed and disposed:- conn.Close()
- conn.Dispose()
On top of this, every mysql script or services is having a unique user to the mysql database/table, so I can keep track of open processes and see if connections are closed properly.
I actually reviewed ALL my scripts and made in the most of them, really big changes. Also in the way how virtual devices are created, etc, so it's not just the 4 bulletpoints from above.
- Likes 1
Comment
Comment