View Full Version : [TEC] Can we increase the game RAM to larger that 4GB?
shadow_wxh
04-12-20, 08:04 PM
Currently the highest recorded ram allocated to SH3 on my machine is 3,893,000 KB any thing higher that that will just crash.Right now with ever increasing size of HD GUI,HD ship model,Sub interiors,Champaine file,Harbour traffic this is getting problematic.
How did the 4GB patch worked? Why getting larger that 4GB is difficult?
hauangua
04-13-20, 12:56 AM
Currently the highest recorded ram allocated to SH3 on my machine is 3,893,000 KB any thing higher that that will just crash.Right now with ever increasing size of HD GUI,HD ship model,Sub interiors,Champaine file,Harbour traffic this is getting problematic.
How did the 4GB patch worked? Why getting larger that 4GB is difficult?
Hi shadow
Probe explain.. Forgive my poor English..
Memory is divided into addresses.
Each address corresponds to a byte, 8 bits.
In 32bit processors, to compose each of these addresses the machine instructions use 2 registers, one register called selector and one called offset, the latter having a size of 32bit.
32-bit processors have 32-bit address registers.
So at most they can address 2 ^ 32 bytes = 4GB.
(simplified, non-technical and in-depth definition, just to try to explain the concept)
Anvar1061
04-13-20, 02:15 AM
What about 64-bit systems?
hauangua
04-13-20, 03:01 AM
What about 64-bit systems?
For 64bit depend by operative system example for windows 10 32 and 64 bit
32bit
Windows 10 Pro for Workstation 32-Bit 4GB
Windows 10 Education 32-Bit 4GB
Windows 10 Pro 32-Bit 4GB
Windows 10 Enterprise 32-Bit 4GB
Windows 10 Home 32-Bit 4GB
64bit
Windows 10 Home 64-Bit 128GB
Windows 10 Pro 64-Bit 2TB
Windows 10 Pro for Workstation 64-Bit 6TB
Windows 10 Enterprise 64-Bit 6TB
Windows 10 Education 64-Bit 128G
see here:
https://docs.microsoft.com/it-it/windows/win32/memory/memory-limits-for-windows-releases?redirectedfrom=MSDN#physical-memory-limits-windows-10
Anvar1061
04-13-20, 04:02 AM
Win 7
https://otvet.imgsmail.ru/download/38925688_4f63e52dee5e2a340f5e1e99cd1afaac_800.jpg
Olamagato
04-13-20, 04:38 PM
SH3 was compiled from a high-level language as a 32-bit processor machine program, so it must have a 32-bit addressing limit, which is a number that corresponds to a positive unsigned number of 4GB.
If you still want SH3 to have access to more memory, you would have to decompile the machine code of all game modules into a high-level language such as C / C ++, and then recompile as machine code for a 64-bit processor taking into account the differences resulting from a slightly newer system API. That is, simplifying the system to make larger memory areas available at further addresses. Changing the width of a machine word in code is difficult enough with full reliable source code. Having the source code from decompilation, where all the objects have been broken down into procedures in practice, and their names and actions are incomprehensible because they are numbers in practice - creating 64-bit code is extremely difficult. Although theoretically possible.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.