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.

13 Replies
Not applicable
Author

Hai,

This case at lease u would have 16 gb ram  and 8 cpu core

Not applicable
Author

Yes, already tried on 8 cpu core & 16gb ram where there it consumes 15gb of RAM.

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!
Not applicable
Author

Perfect Kaushik. Thanks for sharing this concept.