The requested operation cannot be performed on a file with a user-mapped section open.
See original GitHub issueHello I have problem - and I’m always able to reproduce it. If you have single file that is bigger than hello world example (https://github.com/EpicGames/UnrealEngine/blob/release/Engine/Source/Developer/BlueprintProfiler/Private/BlueprintProfiler.cpp <- used this one to reproduce) make sure there are some error like missing symbols etc (i just setup single .cpp file) then try to save it relatively quickly then you get error I mentioned in the title.
I think it’s some timing issue between saving file and opening it by clang to compile.
Log: https://gist.github.com/RootKiller/0ab780079f1b85761c5c23fa56b5f60b
Version:
- Sublime Text version:
3.0, Build 3143
- which system are you on:
Windows 10 HP 64bit
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:16 (10 by maintainers)
Top Results From Across the Web
The requested operation cannot be performed on a file with a ...
This is obviously a memory conflict. A particular 'instance' of the object has some allocated bit memory mapped, then later finds that the...
Read more >Cannot be performed on a file with a user-mapped section open
It means that there is a flaw in your code which leaves a file stream open when it should dispose of it. Make...
Read more >The requested operation cannot be performed on a ... - MSDN
“The requested operation cannot be performed on a file with a user-mapped section open”, generally indicates some DLL are locked. Please go ...
Read more >The Requested Operation Cannot Be Performed On A File ...
Take a backup of Project folder and try deleting files(i.e. Pdf, Excel, .nupkg etc) and try publishing automation script from Studio for every ......
Read more >The requested operation cannot be performed on a file with a ...
Windows : The requested operation cannot be performed on a file with a user-mapped section open [ Beautify Your Computer ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@niosus Also, worth mentioning this is just not happening very rarely, it happens with all files containing errors, so i’d say this bug is critical as it makes the plugin basically unusable
I had the same issue and reverting back to clang 4.0.1 fixed it. (UPDATE: i actually got the error one more time after downgrade to 4.0.1, but it worked after that, maybe less of an issue with 4.0.1) Thanks for the post and looking into this, hopefully @niosus finds a fix with 5.0.