I am trying to increase main_memory for pdflatex compiler in win7 64.
initexmf didn't work. This is the error I get:
>initexmf --edit-config-file=pdflatex initexmf: Invalid argument. initexmf: Data: vi
>initexmf --edit-config-file pdflatex initexmf: Invalid argument. initexmf: Data: vi
Or which file I can edit directly.
I have tried already to edit (be adding
main_memory=10000000 in the files)
C:\Program Files\MiKTeX 2.9\miktex\config\pdflatex.ini
C:\Program Files\MiKTeX 2.9\tex\latex\config\pdflatex.ini
but it didn't work.
In all cases after compilation I get :
! TeX capacity exceeded, sorry [main memory size=3000000].
any idea ??
Using pdflatex argument
--main-memory=10000000 seems also is not a solution since I'm using pgfplot externalization the pdflatex command which is invoked by pgfplot does not include
--main-memory=10000000 in the arguments.
lualatex also would not be a solution (it is extremely slow).