Out of memory when running a script

Things you’d like to miss in the future...
Post Reply
zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Out of memory when running a script

Post by zer0 »

This one is easy to describe:

1. Selected a few text files.
2. Clicked to apply this script

Code: Select all

regexreplace $data, readfile("<curitem>"), "\n", "<crlf>"; writefile("<curpath>\<curbase>.nfo", "$data");
3. The following window appears
xyplorer_error_report.png
xyplorer_error_report.png (20.82 KiB) Viewed 668 times
It appears that asking XY to run this script on more than one item is asking a bit too much :lol:
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

admin
Site Admin
Posts: 60635
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Out of memory when running a script

Post by admin »

When you do scripting you take responsability. I don't know what (size of) file you fed into this function, ivan, but apparently it was too big for your memory.

Post Reply