Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Daidalos Team discussions (http://forum.fulqrumpublishing.com/forumdisplay.php?f=202)
-   -   Memory allocation & Releasing memory (http://forum.fulqrumpublishing.com/showthread.php?t=230194)

Oh Chute! 07-21-2018 07:29 PM

Memory allocation & Releasing memory
 
In the campaigns I have noticed frequent memory locking. Aircraft ‘following their kill down’ end up crashing into the ground.

When I first noticed that I was losing AI pilots to this, planes spiralling in for no reason, I replayed later missions then on autopilot and experienced this “memory lock” myself. Switching off autopilot would not release the controls to the player. Controls would remain unresponsive until the fatal crash.

Perhaps someone could look at how memory is allocated and released in the campaigns and or make some script adjustment that had aircraft ‘follow down’ to a set altitude, then having them pulling up and away?

Tolwyn 07-29-2018 03:58 PM

Have you modified or adjusted the java environment that comes with the game?

Java and the game does a regular "garbage collecting."

Make sure you have this in your game installation folder:

gc.cmd

but more importantly, this file has to be called by the RCU file:

@file gc.cmd

THIS line should be in the RCU file.

If you want to run the garbage collecting manually, the command is (from the console):

GC

Oh Chute! 07-30-2018 07:01 AM

Quote:

Originally Posted by Tolwyn (Post 717899)
Have you modified or adjusted the java environment that comes with the game?

Java and the game does a regular "garbage collecting."

Make sure you have this in your game installation folder:

gc.cmd

but more importantly, this file has to be called by the RCU file:

@file gc.cmd

THIS line should be in the RCU file.

If you want to run the garbage collecting manually, the command is (from the console):

GC

No. I’ve not modified any file, period. I wouldn’t even know where to start such a process. Other than setting/options I leave things alone.

Oh Chute! 08-13-2018 06:12 AM

Can you direct me with more precise file locations? I don’t have a working knowledge of the games inner file systems. Thanks.

wheelsup_cavu 08-26-2018 08:50 PM

The RCU file is located in the main directory of your IL-2 install. It can be edited using Notepad but as a precaution you should make a copy of it first.
This is the default location.

(32 bit systems): C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\rcu
(64 bit systems): C:\Program Files (x86)\Ubisoft\IL-2 Sturmovik 1946\rcu

If you still happen to have the game located in one of those default directories you should move it out of them onto your C drive.
IL-2 Sturmovik 1946 Patching Guide: http://www.mission4today.com/index.p...p=show&kid=584

In this Knowledge Base article at M4T there is an explanation about the RCU file and how to alter it.
Custom Icons: http://www.mission4today.com/index.p...p=show&kid=681


Wheels

Storebror 08-27-2018 09:30 AM

The Java VM automatically performs a garbage collection if necessary.
Asking for a garbage collection "on demand" is just that: Asking.
The Java VM may or may not actually perform a garbage collection when you call for it, and the result most of the time isn't exactly what you'd expect it to be.
In summary, the whole purpose of the GC command is questionable at best.

Cheers!
Mike


All times are GMT. The time now is 11:17 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.