Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Out of memory

Hi

I have a qvd of 8millions record which has only one column. Only i am checking is count(column), len(column) in Straight table. It works fine for 3million record but when it crosses 3 million - chart gave OUT OF MEMORY error. Is there any solution to get rid off with?

Thanks in advance.

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Navneet,

     I would suggest you to do following things for getting the count and sure your performance will be much much better.

     assume following is your code.

     load Field From XYZ;

     you are using the count(Field) in your chart. But try below to overcome the problem.

     Load Field,'1' as Flag From XYZ;

     now use the below expression.

     sum(Flag) to get the count.

     Hope the idea is clear.

     The Count function is resource intensive, where as Sum is not. So whenever you need count of field, use the above logic to improve the performance and reduce the load on chart as well as application.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

13 Replies
VishalWaghole
Specialist II
Specialist II

Hi,

Could you please tell me your machine RAM size.

Thanks

Vishal.

Not applicable
Author

4 GB RAM

Thanks

VishalWaghole
Specialist II
Specialist II

Its might be your RAM issue...

Please check it with upgradable RAM.

Thanks,

Vishal

Not applicable
Author

How much RAM is requred/recomended for this much of records in QVD/DB? Is there any other harware required for these type of transaction?

VishalWaghole
Specialist II
Specialist II

If you used huge size of data then you will required more size RAM.

RAM size is depend on your data size.

Not applicable
Author

Thanks a lot

VishalWaghole
Specialist II
Specialist II

If this is valuable information then mark it is as Currect Answer other wise as helpful answer.

Thanks,

Vishal

sushil353
Master II
Master II

check your document size..

Is it exceeding 4 gb size...

Not applicable
Author

qvd size is 1.30 GB And yes it utilizes full ram i.e; 4gb. I tried it on 16gb RAM, there at it utilizes 15gb.