Update PackageDao.java

fixing java.lang.OutOfMemoryError: Java heap space