And I watch the the process's run by top.

At first, the memory statistics is:
PID     PPID   USER     STAT   VSZ    %MEM  %CPU  COMMAND
17731 15488  root      S        1104   5%      7%     ./sqlite3multiwrite 

When the printf() prints the 150, the memory statistics is:
PID     PPID   USER     STAT   VSZ    %MEM  %CPU  COMMAND
17731 15488  root      S        1552   5%       7%     ./sqlite3multiwrite 


It means that after 150 for-cycles, the memory used by sqlite3multiwrite
increase from 1104KB to 1552KB.

What does it mean? memory leak or other thing?

-- 
View this message in context: 
http://old.nabble.com/Is-there-any-memory-leak-in-the-normal-routine--tp28348648p28348725.html
Sent from the SQLite mailing list archive at Nabble.com.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to