HTML Area / Javascript / Client Memory Limit?

Forum to discuss the Web client version of Servoy.

HTML Area / Javascript / Client Memory Limit?

Postby gdurniak » Thu Mar 22, 2007 5:48 pm

I parse a dataset, for display as a Table, in an HTML area

after about 1500 lines ( approx 650Kb ), the CPU is at 100%, and the client appears to freeze

is there a practical size limit on text, in memory, or displayed?

I suspect it may vary by machine

thanks,
greg
File Shoppe
gdurniak
 
Posts: 232
Joined: Thu Jul 08, 2004 7:25 pm
Location: Bayside, NY, USA

Postby ROCLASI » Thu Mar 22, 2007 7:20 pm

Hi Greg,

My experience is that when a client runs out of memory the method simply stops. No errors, no messages. But also no more CPU load.
So it sounds something else is going on.
Is this a complex HTML document ? The used Sun HTML engine is not one of the fastest around.
What happens when you run the method in Developer ?

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

HTML Limit

Postby gdurniak » Thu Mar 22, 2007 7:31 pm

very plain HTML, just TR TD's

it did work, while testing in Developer 3.1.3, Win XP

it appears that the parsing freezes the client, even if I disable the display, on the Win 2000 client

as a workaround, I have limited the number of HTML lines, parse it as CSV (a much smaller result), and allow the user to save as CSV instead

greg
File Shoppe
gdurniak
 
Posts: 232
Joined: Thu Jul 08, 2004 7:25 pm
Location: Bayside, NY, USA

Postby bcusick » Fri Mar 23, 2007 10:07 pm

You should double-check the client default heap size (default is 64MB). You should up it to 256MB on your admin page http://YOURIP:8080/servoy-admin
Bob Cusick
bcusick
 
Posts: 1255
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 27 guests

cron