I have an application that writes some data (about 15mb in 80k tuples) into an SQLite database using this jdbc-driver on Mac OS X. This is done using transactions, the largest of which contains about 45k inserts into one table. When profiling the application, several things seems strange:
- If I pause the application right at the beginning using System.in.read(), the memory allocated by the process keeps growing slowly. Why is that?
- When the application runs, the heap space used is always at around 80mb in the VisualVM monitor. However, when profiling memory usage, I get a total of about 10mb. Can anyone explain this difference?
Thanks for any help.
 
     
     
     
     
    