Skip to content

Instantly share code, notes, and snippets.

@radityopw
Last active January 4, 2022 05:11
  • Star 13 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save radityopw/4696048 to your computer and use it in GitHub Desktop.
free up memory on phpExcel
$objPHPExcel->disconnectWorksheets();
unset($objPHPExcel);
@look416
Copy link

look416 commented Aug 20, 2018

Thanks, it worked for me so well.

@stefanhuber
Copy link

Great! This worked for php spreadsheet as well...

@jnilla
Copy link

jnilla commented Jan 4, 2022

OMG thanks for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment