I've been using Torque for almost a year now and am very happy with it.
Recently though I found something that confuses me.  

 

All along I've been deleting all History books like:

 

Criteria c=new Criteria();

c.add(BookPeer.TYPE,"HISTORY");

BookPeer.doDelete(c)

 

And it works fine.  But recently I tried this when there over 100,000
history books.   I was greeted with a java "out of memory" error.  Is Torque
trying to load all records before deleting each of them?  Why would it?  Is
there a work around?

 

Thanks,

 

Paul

 

 

 

Reply via email to