qwertypol012 Posted May 15, 2019 Share Posted May 15, 2019 I asked this because recently i installed Skyrim and CK on my laptop (non-gaming, very low spec only 2gb RAM) for editing purpose only (not playing the game) and tried to compile some scripts. I could compile all of my scripts (through trial and error, experienced fails several times), but there's a single script which always failed to compile no matter whatever things i have done. I have googled and followed some guides to fix such things such as adding memory amount in SkyrimEditor.ini (or SkyrimEditorPrefs.ini), putting CK resource directory to custom folders (someone said that CK loads everything in your data folder, so you need to change CK's resource path to somewhere else and only put there the recources that you actually need), copying all required scripts (SKSE, SkyUI, FISS) directly in the data folder (Data\Scripts and Data\Scripts\Source), but it still failed. It only failed in a single .psc file which is an MCM source code for my mod. It's indeed quite big probably with almost 3000 lines of code (but i don't know what limit CK considers a source code as 'big'). I really don't know what could be the problem, because it's actually my first time trying to compile something that big and in my laptop (it's a laptop for office works, not for gaming so it's pretty weak). This is the message showed after failing to compile that single script:DEFAULT: BSString::Set(): Could not allocate full amount of memory asked for with aiMaxLen So, can anybody help me with this problem? Link to comment Share on other sites More sharing options...
maxarturo Posted May 15, 2019 Share Posted May 15, 2019 (edited) I think CK has the minimum memory requirement the same as the game was first released, 4GB & 512vram. The 32 bit CK version. But i could be wrong... Edited May 15, 2019 by maxarturo Link to comment Share on other sites More sharing options...
agerweb Posted May 16, 2019 Share Posted May 16, 2019 Given the script folders you mentioned it sounds like your running SSE CK in which case the memory requirements are likely to be higher, but certainly at the very least 4GB, but probaly closer to 8 would be helpful. Link to comment Share on other sites More sharing options...
qwertypol012 Posted May 16, 2019 Author Share Posted May 16, 2019 (edited) Apparently so. It does seem memory problem is the main cause. I just followed an alternative method from IsharaMeradin for compiling papyrus scripts using third party applications, and it worked. I copied his explanation here: By IsharaMeradin:"But if memory is truly the issue, you may need to utilize a third party tool to compile your scripts. https://www.creation...ategory:Papyrus At the link please see the section on the right hand side labeled External Text Editors. The linked pages contain instructions on setting up each program to be capable of compiling papyrus scripts. If you go this route, you only need to use one. Tho if you mod both original Skyrim and SSE, you may wish to set up a different editor for each game. I know from first hand experience that it can be easy to forget to swap the instruction file that tells Sublime Text which game folders to utilize."For anyone who still got memory related problem with CK while compiling scripts, try this method :thumbsup: Problem is currently solved. Hopefully no more problems later. :smile: Edited May 16, 2019 by qwertypol012 Link to comment Share on other sites More sharing options...
Evangela Posted May 16, 2019 Share Posted May 16, 2019 There is an internal line limit with the CK compiler, or more clearly, the CK script editor. I don't remember what that was, but in any case, it can be bypassed with 3rd party editors. Link to comment Share on other sites More sharing options...
Recommended Posts