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
Anu478Anu478 

DataLoader Erroring out when trying to schedule the export through Command line

Hi,I

 

am getting the below error when trying to extract data through Command line.

 

There are only 3800 records.

 

The export is succesful when i extract using Dataloader tool.

 

Giving me the below error when trying to do it from Command line.


"java.lang.OutOfMemoryError: Java heap space"


Any help is much appriciated.

 

Thankyou,

Anna.

Best Answer chosen by Admin (Salesforce Developers) 
Anu478Anu478

Figured out the resolution

 

In order to increase the heap size Add the below highlightedsyntax to your Process.bat file in bin folder.

 

......\DataLoader.jar -Xms256m -Xmx256m -Dsalesforce.config.dir=%1........

All Answers

Anu478Anu478

Figured out the resolution

 

In order to increase the heap size Add the below highlightedsyntax to your Process.bat file in bin folder.

 

......\DataLoader.jar -Xms256m -Xmx256m -Dsalesforce.config.dir=%1........

This was selected as the best answer
Abc234Abc234

Hi Anna,

 

Can you tell me how to add that syntax in bin folder?