[Pawn] CGEN_MEMORY problem - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) --- Thread: [Pawn] CGEN_MEMORY problem (/showthread.php?tid=2162) |
CGEN_MEMORY problem - Neckiysa - 2021-07-11 So, I just installed YSI and when I want to start my server I get this message like 50 times: "*** YSI Fatal Error: Out of code generation (CGen) space.? The current value of `CGEN_MEMORY` is `10000`, please recompile with a higher value (approximately 13342).". Now, I've read that I need to define CGEN_MEMORY to a bigger number but I don't know where. I've looked in y_ini and y_commands but I can't find it. When I try to define it in my main script I get an error that says I'm redefining it. Can somebody please tell me where I need to define CGEN_MEMORY? Thanks! RE: CGEN_MEMORY problem - Kwarde - 2021-07-11 You define that before you include YSI. Don't touch the YSI library itself. Also, might wanna consider using visual studio code or something similar. RE: CGEN_MEMORY problem - Pinch - 2021-07-11 #define CGEN_MEMORY 14000 // INCLUDE YSI |