Opened 10 years ago

Closed 10 years ago

#1772 closed defect (wontfix)

Specific exception for "the server failed to allocate memory"

Reported by: Richard Owned by: Tom Hughes
Priority: major Milestone:
Component: api Version:
Keywords: Cc: Shaun McDonald

Description

It would be good if there were a specific exception for "failed to allocate memory", so that whichways could trap it. At present any failure in whichways tells the user to e-mail me, which is good for Potlatch bugs, but not so good when it's a generic server problem.

Change History (1)

comment:1 Changed 10 years ago by Tom Hughes

Resolution: wontfix
Status: newclosed

It's not really possible as there is not a single way in which memory allocation failures manifest themselves that can be trapped - it all depends where the failure happens as ruby, the ruby libxml bindings, libxml itself, the ruby postgres bindings, and the postgres client library itself will all behave differently.

Note: See TracTickets for help on using tickets.