Subhash,
you can check the post here to handle the logs here
logging
This will avoid the resource crunch and also set the log level to error.
In your case are you getting error for redelivered message again and again. Can you please re-implement something which I mentioned in this link to commit the message if it has failed in first time processing and failed due to application error.