function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ishan K SharmaIshan K Sharma 

Facing Heapsize And View State Issues

Hi All

I need to show thousands of records through search button on vf page. I was facing view state and heapsize issues and i resolved this by giving pagination.I provide next and previous button for this and show data in blocks of 500.
But i need to export whole data i.e all thousands of records in csv.For which i need to create a list having all the data and export it via vf page.But it again show heapsize error.
What should be the possible solution for this.

I think export functionality should be done by batch.I want to know whether it is feasible or not. Can we create vf page through batch?
Or is there any other solution for this?


Thanks
Ishan
 
Subramani_SFDCSubramani_SFDC
Hi ishan,

http://wiki.developerforce.com/page/Loading_Large_Data_Sets_with_the_Force.com_Bulk_API

If resolves this problem mark it as 'Best Answer' and help moving questions from unsolved to Solved answers section.....

Regards,
Subramani
Trinay technolgy solutions