jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • GeoServer
  • GEOS-1779

UI config hangs if an OOM is generated during config load - should catch and report gracefully

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.6.0
  • Fix Version/s: None
  • Component/s: UI
  • Labels:
    None

Description

UI config hangs (doesnt return to browser ever) if an OOM is generated during config load - should catch and report gracefully

ideally it would be nice to report the system config (java memory) during UI operations, this would also aid us catching memory leaks..

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Andrea Aime added a comment - 29/Feb/08 2:59 AM

Rob, I don't think we can put catch(Error) everywhere in the code to catch memory leaks, but I'm wondering, aren't errors like that reported anyways?
Moreover, you know that OOM did not use to generate a stack trace, and that started happening only with java6? (so you need to run on a java6
VM to have the reports).
Anywyas, if you have a patch I'll gladly have a look at it.
Also, to debug OOM I usually use YourKit, we have 10 licenses for people working on GeoServer, want one?

Show
Andrea Aime added a comment - 29/Feb/08 2:59 AM Rob, I don't think we can put catch(Error) everywhere in the code to catch memory leaks, but I'm wondering, aren't errors like that reported anyways? Moreover, you know that OOM did not use to generate a stack trace, and that started happening only with java6? (so you need to run on a java6 VM to have the reports). Anywyas, if you have a patch I'll gladly have a look at it. Also, to debug OOM I usually use YourKit, we have 10 licenses for people working on GeoServer, want one?

People

  • Assignee:
    Andrea Aime
    Reporter:
    Rob Atkinson
Vote (0)
Watch (0)

Dates

  • Created:
    28/Feb/08 9:17 PM
    Updated:
    29/Feb/08 2:59 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.