• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ajax Anywhere out of memory problem....

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I'm using ajax anywhere in my Struts Application.
Using this im loading the drop down lists using struts index pattern.
Here the drop down list contains 150 or more values.
After loading the page with ajax anywhere im submiting the form , Here I'm getting the out of memory error.Is this is the Ajax anywhere problem?
Because we are loading the dropdown lists with ajax anywhere[large data]
If i remove the ajax anywhere calls im not getting any errors.

Let me know If I'm not clear.

Thanks in advance
Regards
Bhagavan Rajanikanth
 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
reply please
 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any one give me suggetions on this please
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You haven't given enough information to provide any feedback.
 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you please tell me what type of information you required for this issue?

Please let me know if im not clear

Regards
Bhagavan
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Providing more information about where the OOM error is coming from would be the most helpful. It would also be a useful diagnostic to know if you get the same OOM error if you request the page directly (as opposed to via Ajax).
 
rajanikanth bhagavan kanth
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
In my application i have to load the all the employees of organization in dropdown list.So it is loading almost all 10000's of data in dropdownlist.At the time of loading its throwing like out of memory.This employee list is populated i.e loaded when i select department type from other dropdown list.For this i used the ajax call.If i remove the ajax call and submited the entair form im not getting any errors succesfully im able to load the dropdown list.My doubt is that ajax will not support huge data?

Let me know if im not clear.

Regards,
Bhagavan R
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Let me know if im not clear.


You are not clear.

First of all, loading 10,000 elements into a drop-down list is a Really Bad Idea--it's essentially unusable.

Second of all, you're still not saying anything about the nature of the OOM error. Is it the server that's giving the error? If so--increaase the memory allocated to your application. If you're getting the results from the database and mapping them into an ORM layer, like Hibernate, then see if you can restrict the data being retrieved from the database.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic