Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

magic.magic.MagicException: b"line I64u: regex error 14 for `^[[:space:]]*class[[:space:]]+[[:digit:][:alpha:]:_]+[[:space:]]*\\{(.*[\n]*)*\\}(;)?$', (failed to get memory)" #1

Open
stuxnet999 opened this issue Jul 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@stuxnet999
Copy link
Owner

This is a know which I am seeing only when running the script in Powershell/CMD. However when I run it in WSL, it runs fully. The "failed to get memory" message indicates the memory allocated has been used up. This issue can come up in Linux too. Only difference is I think how the memory is being managed when running inside WSL vs natively in Windows (via powershell)

Currently I don't have a fix for this issue. One way to bypass this would be to reduce the target directory scope. Let's say instead of running the tool on entire drive, run it on a specific folder of interest.

I am working on this at the moment. Will update if I can get a reasonable fix.

image
image

The 2 images are for the same D drive run at separate times in Powershell (1st image) and Ubuntu 22.04 WSL (2nd image).

@stuxnet999 stuxnet999 added bug Something isn't working help wanted Extra attention is needed labels Jul 15, 2023
@stuxnet999 stuxnet999 self-assigned this Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant