Open cnthompson opened 10 years ago
I was unable to reproduce this issue. Is this repeatable for you?
Oh, I get it now. You attempted to delete a drink log, it took too long, but it eventually deleted. After that, you tried to delete another drink log and got the Heap space error.
Before you deleted the first drink log, what were you doing? Specifically, which pages did you go to?
I'll keep a look-out for this. I have a feeling it's due to our hosting service.
I tried to reproduce this following these steps:
Clicked on breweries Selected S Selected Samuel Adams Selected LongShot Five Crown Imperial Stout Clicked to edit my logged drink Clicked Delete
This time, I was taken back to the log in page. After I'd logged back in, I got a 404 error because it was trying to find a page called favicon or something like that. When I went back to the beer page, my logged drink had been deleted.
I then followed these steps:
Clicked the link from the beer page back to Sam Adam's page Selected Boston Lager. Clicked to edit one of my logged drinks Clicked Delete
And this time, I was redirected to the complete log page (http://www.beer366.com:8080/user/completelog). Going back to the Boston Lager page, my drink had been deleted.
I was not able to reproduce the heap space exception.
On the Edit Logged Drink page, the first time I attempted to delete a logged drink, it took an exceptionally long time to perform the operation. At least 5 minutes, but I actually forgot about it. The time could have been as long as 10 minutes. That drink log deletion did complete successfully/. I wanted to see if this was repeatable, but a second attempt to delete a logged drink resulted in a java heap space error: org.codehaus.groovy.grails.web.pages.exceptions.GroovyPagesException: Error processing GroovyPageView: Error executing tag: java.lang.OutOfMemoryError: Java heap space
Caused by: org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag: java.lang.OutOfMemoryError: Java heap space
Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.OutOfMemoryError: Java heap space
Caused by: java.lang.OutOfMemoryError: Java heap space