I'm using a ScrollView and appending multiple objects onto the view. I'm also using RMQ, so I'm not sure if this the best idea for Scrollers at the mo, however!.
rmq.stylesheet = MotResultsViewStylesheet.new(:data => data)
90.times do |_|
The display is completely fine and can display as may appended objects, however when I click back one screen on the action_bar I get the following error:
E/dalvikvm( 100): JNI ERROR (app bug): local reference table overflow (max=512)
E/dalvikvm( 100): Failed adding to JNI local ref table (has 512 entries)
E/dalvikvm( 100): VM aborting
From what I can see, every time a Obj.new is created, in this case RMQ.new, it uses up too many resources and there is no way I can see to call env->DeleteLocalRef(returnValue)