craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > General QuickTable Support/Help Post New Topic   Post A Reply
out of memory with my largest Table printer friendly version
next newest post | next oldest post
Author Messages
Tom Gubler
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, June 2, 2004 @ 21:23:22  

Also QuickTable is running out of memory with my largest Table even
though I have 512meg Ram. Does Quicktable need to hold the complete
table in memory?
Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Wednesday, June 2, 2004 @ 21:41:10  

If you use stored procedure/resultset as the source, then the table data is fully loaded in memory, in all other cases the data is loaded as the user scrolls down.

Even when you use stored procedure/resultset, if you provide a row count sql using DBTable.setRowCountSql(java.lang.String rowCountSql) , then data will be loaded as user scrolls down. Refer api help of setRowCountSql for more information.

Or if you could post the sql query which you are using, I can give you some suggestions.

Vishal
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, July 21, 2004 @ 09:53:38  

I'm still having the same problem even though I use the following query for setSelectSql(...):

SELECT MailData.ID ,MailData.FName ,MailData.LName ,MailData.Company ,MailData.StreetAddress1 ,MailData.StreetAddress2 ,MailData.City ,MailData.State ,MailData.Zip ,MailData.Zip4 ,SourceInfo.Source ,ClassTypes.ClassType
FROM
(((((((MailData INNER JOIN Source ON MailData.ID=Source.ID) INNER JOIN SourceInfo ON Source.SourceID=SourceInfo.SourceID) INNER JOIN Class ON MailData.ID=Class.ID) INNER JOIN ClassTypes ON Class.ClassCode=ClassTypes.ClassCode) LEFT JOIN MailSent ON MailData.ID=MailSent.ID) LEFT JOIN Mailings ON MailSent.MailID=Mailings.MailID) LEFT JOIN MailTypes ON Mailings.MailTypeID=MailTypes.MailTypeID)
WHERE
(ClassTypes.ClassType LIKE 'GE55') GROUP BY MailData.ID

I even use table.setRowCountSql("SELECT COUNT(*) FROM (above query) AS AB").
I use mysql database. When I ran the count sql statement manually I got the count=425,953

Am I doing something wrong?

Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios