Reduce desktop application memory
I'm developing a windows desktop (standalone) application which runs as an endless loop.
Once the application starts, a database connection is created (java.sql.Connection) and is used all over the application.
The loop does the following operations:
* Call web services
* Execute Sql queries to read data from Database
* Write image (downloaded by one of the web services) to disk. (approximately ~80KB)
My application takes about 50 MB memory.
How can I reduce my application memory usage?