Those messages are not errors, but they do indicate that garbage is being is continuously being collected, and that shouldn't be with this application.

Check your DBHelper#printDb method. Inside your while loop, you are never moving to the next row, so your code is using the value of the first row over and over, creating new objects each time. The check to see if the cursor is pointing to after the last row will always return false so the code will never exit the loop.

Also - you should not be closing the database in the insertEmp and printDB methods - leave it open until the application is stopped.

And - the delEmp and insertEmp always return true, regardless of whether they were successful or not - check the return values for insert and delete to determine if the database operations were successful or not.