Replies: 13 (Who?), Viewed: 416 times.
Field Researcher
Original Poster
#1 Old 22nd Jun 2021 at 6:07 AM

This user has the following games installed:

Sims 3, World Adventures, Ambitions, Late Night, Generations, Pets, Showtime, Supernatural, Seasons, University Life, Island Paradise, Into the Future
Default Using more ram?
I got 64 gb of ram installed, is it possible to have Sims 3 use more of it?
Advertisement
Inventor
#2 Old 22nd Jun 2021 at 6:58 AM
Only on the 64bit mac version they released in like october i think. PCs are still capped at 4gb and there is no getting around it.

Wren-der Simblr // Sim Art // Pictures // Downloads // Random Nonsensical Rambling
Field Researcher
Original Poster
#3 Old 22nd Jun 2021 at 7:43 AM
Quote:
Originally Posted by MurderPrincessK
Only on the 64bit mac version they released in like october i think. PCs are still capped at 4gb and there is no getting around it.


4? I thought I remembered reading 8 somewhere. Shesh.
Mad Poster
#4 Old 22nd Jun 2021 at 8:30 AM
yes. install the whole TS3 on a RAMdisk.

Sanity is overrated.

Nitromon is a type of Pokemon encountered in the Pokemon Nitrome Version series.

There. Mystery solved.
Field Researcher
Original Poster
#5 Old 23rd Jun 2021 at 10:09 PM
Quote:
Originally Posted by nitromon
yes. install the Ne TS3 on a RAMdisk.


Really? That works?!
Mad Poster
#6 Old 23rd Jun 2021 at 10:15 PM
Quote:
Originally Posted by t888
Really? That works?!


Yeah, why not? In the past I wrote this tutorial on how to move your user folder to a RAMdisk, but now with 64 GB, you can install the whole thing on there. I think with all expansions it uses not more than 30GB, leaving you with plenty of RAM for other uses.

https://modthesims.info/showthread.php?t=548125

Just make sure you check "save to image" on the RAMdisk b/c once you shutdown the computer, everything on RAMdisk is erased. That or manually keep a copy on the HDD.

I would also recommend relinking (junction link) the save folder back to the HDD, so your saves are always on the HDD. This wouldn't affect performance at all because the save folder is only used during loading game file and saving.

Sanity is overrated.

Nitromon is a type of Pokemon encountered in the Pokemon Nitrome Version series.

There. Mystery solved.
Test Subject
#7 Old 24th Jun 2021 at 1:06 PM Last edited by MrFatCat : 24th Jun 2021 at 1:56 PM.
I am using 4GB Patch, but I have only 8Gb RAM and I just now found out about the method by nitromon...

My steps:

1. Download the 4GB Patch
4GB Patch
Current Version: 1.0.0.1

I originally wrote this tool for a friend of mine who needed it. This very little tool patches x86 executables in order to let them have 4GB (instead of only 2) of virtual memory on x64 platforms. This tool comes very handy for applications which need a great amount of virtual memory like games, 3D renderization, multimedia etc. To gain these 2GB, you just have to use this tool to patch the executable (*.exe file) of the software you want to have these additional GBs of virtual memory. It can be used by clicking on it and choosing the file or through command line (e.g.: "4gb_patch file.exe"). It automatically creates a backup copy of the original executable.

Why things are this way on x64 is easy to explain. On x86 applications have 2GB of virtual memory out of 4GB (the other 2GB are reserved for the system). On x64 these two other GB can now be accessed by 32bit applications. In order to achieve this, a flag has to be set in the file's internal format. This is, of course, very easy for insiders who do it every day with the CFF Explorer. This tool was written because not everybody is an insider, and most probably a lot of people don't even know that this can be achieved. Even I wouldn't have written this tool if someone didn't explicitly ask me to.


2. Run 4GB Patch as an administrator
3. Select and patch files TS3.exe and TS3W.exe (at the root of your game)
4. Change MemoryUsageLimit
Open the folder:
• \ Electronic Arts\The Sims 3 \Game\Bin (or: \Origin Games\The Sims 3\Game\Bin)

Open the file "Sims 3.ini" with Notepad++ or similar.
Find the line:

[[Resource System]
Memory Usage Limit = 20000000

Change it to:
Memory Usage Limit = 20000000 (you have 4 GB of RAM)
40000000 (you have 8 GB of RAM)
60000000 (you have 12 GB of RAM)
80000000 (you have 16 GB of RAM)
120000000 (you have 24 GB of RAM)
160000000 (you have 32 GB of RAM)
320000000 (you have 64 GB of RAM)
- so you need to divide the value by 2, since it is impossible to devote all the RAM to the game.

Don't forget to back-up these files in some safe place!

P.S. I use this method for a long time, but I will be grateful for new solutions.
I'm on win7

Welcome to Sim-Tropico!

More about Sim-Tropico:

Sim-Tropico_blog
Sim-Tropico_tumblr

Happy simming!
Mad Poster
#8 Old 24th Jun 2021 at 4:28 PM Last edited by nitromon : 24th Jun 2021 at 4:42 PM.
Quote:
Originally Posted by MrFatCat
1. Download the 4GB Patch
4GB Patch
[I]Current Version: 1.0.0.1

I originally wrote this tool for a friend of mine who needed it. This very little tool patches x86 executables in order to let them have 4GB (instead of only 2) of virtual memory on x64 platforms.


Are you talking about the LAA?

http://simswiki.info/wiki.php%3Ftit...e_Address_Aware

Or by "virtual" memory, you are referring to the Win swap file?

Actually this page links directly to your link: http://simswiki.info/wiki.php?title...Aware/4GB_Patch

The LAA modification/patch is unnecessary for Sims 3 that is patched to 1.17/2.12/3.8/4.5/5.2/6.0 or newer b/c they're already patched with the updates. Unless you're referring to something else.

Sanity is overrated.

Nitromon is a type of Pokemon encountered in the Pokemon Nitrome Version series.

There. Mystery solved.
Mad Poster
#9 Old 24th Jun 2021 at 9:19 PM
Quote:
Originally Posted by MrFatCat
Download the 4GB Patch[/B]

The 4 GB patch does nothing for TS3. It is already natively Large Address Aware (LAA) as of Patch 1.17 as nitromon states.

Quote:
Originally Posted by MrFatCat
4. Change MemoryUsageLimit
Open the folder:
• \ Electronic Arts\The Sims 3 \Game\Bin (or: \Origin Games\The Sims 3\Game\Bin)

Open the file "Sims 3.ini" with Notepad++ or similar.
Find the line:

[[Resource System]
Memory Usage Limit = 20000000


What you are working with here is the upper limit to the game's script heap, which by default is 20 GB (not 2 GB). This should not really be changed due to stability issues and a higher one will not affect actual RAM usage.

TS3 on Windows is a 32-bit application and thus it can only address 4 GB of RAM, actually it's ~3.7 GB due to some overhead. The Danger Zone for most of us is around 3.5 GB, any momentary spikes above that and the game is in danger of losing its mind, crashing, or Error 12s upon trying to save. The game can do no better than that; the better goal is to find ways to reduce RAM usage, not increase it, while maintaining satisfactory gameplay.

The RAM DISK trick is a great idea to put that extra RAM to some good use for those who wish to try it, but the TS3.exe (or TS3w.exe) executable can still utilize no more than 3.7 GB (just short of 4 GB) and there is no way to improve upon that.
Test Subject
#10 Old 25th Jun 2021 at 4:04 PM
Quote:
Originally Posted by nitromon
Are you talking about the LAA?

http://simswiki.info/wiki.php%3Ftit...e_Address_Aware

Or by "virtual" memory, you are referring to the Win swap file?

Actually this page links directly to your link: http://simswiki.info/wiki.php?title...Aware/4GB_Patch

The LAA modification/patch is unnecessary for Sims 3 that is patched to 1.17/2.12/3.8/4.5/5.2/6.0 or newer b/c they're already patched with the updates. Unless you're referring to something else.


Thank you for your reply!
Yes, I am talking about the LAA as I just found out
My Sims 3 game has the perfect perfomance with ЕР1-5 plus SP1-5 (exclude some bugs with elevators in Late Night's skyscrapers).
Than I added Pets and Showtime and performance has become far from perfect
When I added Seasons and Island Paradise problems began.
I have looked through many sites in search of solutions, found tips on Save and Cache cleaning, packaging as .dbc, using NRaas mods and this.
Now the performance is still far from ideal, but acceptable.
That's why I post this method here.
I'm sorry that my information is outdated.

Quote:
Originally Posted by igazor
What you are working with here is the upper limit to the game's script heap, which by default is 20 GB (not 2 GB). This should not really be changed due to stability issues and a higher one will not affect actual RAM usage.

TS3 on Windows is a 32-bit application and thus it can only address 4 GB of RAM, actually it's ~3.7 GB due to some overhead. The Danger Zone for most of us is around 3.5 GB, any momentary spikes above that and the game is in danger of losing its mind, crashing, or Error 12s upon trying to save. The game can do no better than that; the better goal is to find ways to reduce RAM usage, not increase it, while maintaining satisfactory gameplay.

The RAM DISK trick is a great idea to put that extra RAM to some good use for those who wish to try it, but the TS3.exe (or TS3w.exe) executable can still utilize no more than 3.7 GB (just short of 4 GB) and there is no way to improve upon that.


Thank you for your detailed answer!
I will try RAM DISK trick with tutorial by nitromon.

Welcome to Sim-Tropico!

More about Sim-Tropico:

Sim-Tropico_blog
Sim-Tropico_tumblr

Happy simming!
Mad Poster
#11 Old 25th Jun 2021 at 8:16 PM
Quote:
Originally Posted by MrFatCat
I have looked through many sites in search of solutions, found tips on Save and Cache cleaning, packaging as .dbc, using NRaas mods and this.
Now the performance is still far from ideal, but acceptable.


Have you tried unparking the CPU cores too? It's been around a while, but buried in the forum.

https://modthesims.info/showthread.php?t=571180

Sanity is overrated.

Nitromon is a type of Pokemon encountered in the Pokemon Nitrome Version series.

There. Mystery solved.
Test Subject
#12 Old 26th Jun 2021 at 1:28 PM
Quote:
Originally Posted by nitromon
Have you tried unparking the CPU cores too? It's been around a while, but buried in the forum.

https://modthesims.info/showthread.php?t=571180


No, I didn't know about this method. Thank you for the advice!

Welcome to Sim-Tropico!

More about Sim-Tropico:

Sim-Tropico_blog
Sim-Tropico_tumblr

Happy simming!
Field Researcher
Original Poster
#13 Old 27th Jun 2021 at 12:12 AM
Quote:
Originally Posted by nitromon
Yeah, why not? In the past I wrote this tutorial on how to move your user folder to a RAMdisk, but now with 64 GB, you can install the whole thing on there. I think with all expansions it uses not more than 30GB, leaving you with plenty of RAM for other uses.

https://modthesims.info/showthread.php?t=548125

Just make sure you check "save to image" on the RAMdisk b/c once you shutdown the computer, everything on RAMdisk is erased. That or manually keep a copy on the HDD.

I would also recommend relinking (junction link) the save folder back to the HDD, so your saves are always on the HDD. This wouldn't affect performance at all because the save folder is only used during loading game file and saving.

So, do I reinstall the whole game or use the same method in your post to move it there? And you mean move the whole my documents folder and the prog files folders as well?
Mad Poster
#14 Old 27th Jun 2021 at 1:57 AM Last edited by nitromon : 27th Jun 2021 at 2:28 AM.
Quote:
Originally Posted by t888
So, do I reinstall the whole game or use the same method in your post to move it there? And you mean move the whole my documents folder and the prog files folders as well?


No, do not move the whole document folder there. Remember, a RAMdisk is temporary. Once your system hibernates or shutdown, it is gone (sleep is ok). That's why you need to click "save to disk image," in which it will save all of RAMdisk's content to a virtual image on your HDD, which in this case will be 30GB. I assume with the size of modern HDD, this is not a problem. However, that being said, I still recommend making a copy of your TS3 installed on the ramdisk in case something goes wrong during shutdown in which the image is not saved. In such cases, the image file itself will be corrupt and useless. Also, save to image greatly increase time it takes to shutdown your computer.

My recommendation is actually not using "save to disk image," but manually copy the TS3 game files over to the Ramdisk. This way you have much more control over it. It also remove the long shutdown. You only need to do so each time you boot the computer. You can even write a BAT file to do it, which is what I did, and you can put that BAT file in your system startup, so each time your computer boots, it will automatically copy the files to the RAMdisk. That's my recommendation.

Let me simplify for you.
1) Install a RAMdisk. Set the size to something that can fit all your game files and the user directory, including your mods/CCs.
2) Reinstall your TS3 and all your "game" EPs SPs etc... to the RAMdisk. (or if you are tech saavy, you can just move them and change the registry.)
3) Then on your HDD, create a folder called "TS3 Backup," and then "copy" all the installed game directories from RAMdisk into this folder for backup.

This takes care of the game. Whenever your system boots up, just copy the content of "Ts3 Backup" to the RAMdisk. You never need to "write" to your backup b/c the game files should not change. So only need to copy to ramdisk each time you boot your Windows from hibernation or shutdown (remember sleep is ok). Also do not "zip" or "rar," because that will take a long time to unzip. Just copy.

-----------------------------------------------

The User folder is slightly more tedious to set up.
4) Do not create a junction link for your whole document folder, just for your TS3 user folder in your my document. This way, you have a junction link in your document folder that points to the TS3 user folder on the RAMdisk.

eg: In your libraries/documents/electronic arts/
Instead of a "The Sims 3" folder, you have a "The Sims 3" junction link that points to your Ramdisk. On the Ramdisk you can name it whatever you want as long as you link it properly. I suggest "TS3 User"

5) Likewise, create a folder on your HDD called "TS3 User Backup" and copy your "TS3 user" folder from RAMdisk to this folder as a backup.

6) Unlike game files, your TS3 user folder will need updating from time to time, else you will lose your changes. However, this is easy to compensate.

- For mods/ccs, whenever you install them, you can copy them directly to the RAMdisk for testing. I have a folder in my mods/package called "testing." This is good b/c once you shutdown, they are gone. Once you are satisfied with the mod or you want to put them permanently in the game, copy them into the HDD "TS3 User backup" instead. This way each time you boot in the future and copy it back to the RAMdisk, you'll have your new mods.

- Now for some files, you don't need them on RAMdisk since they are static save files. It means they won't affect the game performance whether on HDD or RAMdisk, and also they need to be updated. This include the folders: downloads, exports, InstalledWorlds, Library, SavedOutfits, Savedsims, Saves, Screenshots, and the options.ini file. These folders updated change can be made on the HDD itself.

Move them from "TS3 User Backup" on your HDD to another folder on the HDD, call it "TS3 User Files" and then link them from the RAMdisk over to the folders here. Unfortunately you cannot copy them into the "TS3 User Backup" b/c you cannot copy junction link. So it is recommended that you write a BAT file either on your desktop or put it in your system startup.


=============== SAMPLE ==============

For the sample below. Let's say my HDD is C: and my RAMdisk is G:

My game is installed all on G:\TS3\
eg:
G:\TS3\The Sims 3
G:\TS3\The Sims 3 Ambitions
G:\TS3\The Sims 3 Generations
etc....

My game folder is stored on C:\TS3 Backup\
My user folder is stored on C:\TS3 User Backup\
(Remember to junction link the actual folder in the Electronic Arts to G:\TS3 User\)
My saves and screenshots etc.. are stored on C:\TS3 User Files\

So this script can either be manually run by double clicking on it, or automatically put in your system start up.



You can actually use this BAT, just change the parameters to your own system. Just use notepad and save into a file called "TS3COPY.BAT" make sure when you save you set the extension to "*.*" or it will save as TS3COPY.BAT.TXT" then you can just put it on your desktop and activate it whenever you want to manually or you can put it in your Windows startup.

Now, the thumbnail and caches are a separate matter. You can ignore it and do nothing, but each time you reboot your system it will regenerate and update. This might be unwelcoming if you don't want to start your game with blank thumbnails while waiting for them to fill. You can update them, but you have to do it manually. Again, it is easier if you just write a BAT, but activate it manually only when you want to.

You could relink them back to the HDD, but I wouldn't recommend it since you put them on the RAMdisk for a reason, so they load/write faster.



Use notepad, save as TS3CACHEUPDATE.BAT and just run it manually when you want to update. Do not put this one in the startup.

Sanity is overrated.

Nitromon is a type of Pokemon encountered in the Pokemon Nitrome Version series.

There. Mystery solved.
Back to top