A little tweak for Crash to Desktop "Bug" - for computers with more than 2GB RAM - Page 3 - Technical Support - WarpPortal Community Forums

Jump to content


Photo

A little tweak for Crash to Desktop "Bug" - for computers with more than 2GB RAM


  • Please log in to reply
56 replies to this topic

#51 kianoshderbaba12

kianoshderbaba12

    I am New.

  • Members
  • 2 posts
  • Playing:Dragon Saga

Posted 04 January 2017 - 03:26 AM

Hey Guys, can someone help me :rice: 
​I tried every step listed there, but it still doesn't work.

My game crashes as soon as I join the game and try to join the Graveyard
​Thanks :heh: 


  • 0

#52 CEn21

CEn21

    I am New.

  • Members
  • 9 posts
  • LocationJapan
  • Playing:Dragon Saga
  • Server:it is kinda obvious :D

Posted 05 March 2017 - 10:51 PM

Hi to all DragonSaga peeps, hi to my friends,

after having a little conversation with ShazamO, I was allowed to post this for you people. Much thanks, ShazamO.

 

If you've already done this, please take the time and read Step 3 at the end of this post.

 

Bad news first:

If you have computer/notebook/laptop with 2 GB RAM or less you can leave this topic. Sadly, the little tweak explained below will only work with more than 2GB RAM. But if you're interested in the technical background or in the case you are planning to upgrade your system, you can read further.

 

Requirements:

Best working is a system with 4 GB RAM, but 3 GB is doing fine also.

If you've more than 4 GB this works for you, but the improvement by the tweak is the same as you would have only 4 GB, because DragonSaga can only use a maximum of 4 GB RAM.  A 64-bit operating system would work better, but a 32-bit OS is okay, too. The tweak works fine with both.

 

What is this topic about?

This tweak may reduce the "Crash to Desktop" bug significantly. What does that mean? When you play and you change maps often, the game crashes to desktop many times (without any further error information). This can be very annoying in many situations. With this tweak you may be able to stay in game much longer without constantly crashing.

An example: I have a 64-bit Windows 7 OS with 8 GB of RAM (of which DragonSaga can use 4 GB). Before tweaking I crash all 1-2 hrs., in other words, I often didn't manage it, to get a 1000 monster kill chest. After the tweak I stay in the game up to 5-6 hrs. without crash. No matter how often I change maps.

Note: This is only an example of my personal experience and I can't promise you, that the same for you as it does for me! But I have posted this also in Dragonica Germany, and there about 80% of the people confirm that the stay much longer in the game than before.

 

What causes this bug?

The bug is caused by what a developer calls Memory Leak. This bug is very hard and time consuming to investigate and there can be more than one place in the game code where this "problem" can be caused of. So please let the developers off the hook for this problem. Is one of the hardest errors to find and to fix because of it's complexity. I know about this, because I hate finding and fixing memory leaks in my own projects. 

 

What does the memory leak do?

That's simple. It completely fills your RAM with useless data, and the longer you play the more your RAM is filled.

Normally the game should request a specific amount of RAM for an operation or for graphics or whatever. After using this the game should tell Windows, that it's no longer needed and windows should give free the space for new or other data. But in some cases this is not done. So the old and useless data stays in RAM and the amount of useless data grows. Additionally the game request space for new data, but when the RAM is full, Windows can't give the game new space. So the game gets the information Out of Memory. That's when the game finally crashs to desktop, because it can't get the requested space in RAM.

 

How the tweak works?

Normally every 32-bit Windows application can only use 2 GB of RAM, even with a 64-bit operating system. But there is a flag in the .EXE file to tell Windows to use up to 4 GB RAM. It is called Large Address Aware, and works with all Windows Versions beginning with Windows XP up to Windows 8.1. The tweak is simple: a little tool just enables this flag in the DragonSaga .EXE file. That's it. This way DragonSaga can use up to 4 GB RAM.

 

What OS and how many RAM do I have?

If you don't know what OS or how many RAM you have, please PM me, I can give you a detailed illustrated tutorial then.

 

 

The Tweak

 

Step 1:

Download the tool called "Large Address Aware.exe" from here:

https://www.mediafir...m8mcqbb5il21adi

Don't worry, like the Fixed Installer it's hosted by me at Mediafire and is 100% clean. No Virus, no Malware.

 

Step 2:

Run the tool and you will see this window:

LAA1.jpg

 

Now click on the "..." beside the box in "Step 1" and choose the Folder where your DragonSaga is installed to.

Navigate to the folder "Release" and choose the "DragonSaga.exe" from there.

 

It should look similar to this:

LAA2.jpg

 

Now look at the checkbox under "Step 2". If it is checked, you can advance to Step 3 below, because Large Address Awareness is already turned on.

Otherwise, check the checkbox.

 

It should then look like this:

LAA3.jpg

 

Now click on Save and you're done. You can now close the tool and start DragonSaga as always.

 

Step 3:

This is not a real step but a note:

 

You don't need to do this everytime you start DragonSaga. It's enough to do it only once. Then you can always start DragonSaga as usual. 

 

But there is one execption to that:

When the complete client is patched with a server maintenance (means when DragonSaga.exe is replaced by the patch), the "Large Address Aware" flag will be disabled again. Then repeat the steps above to re-enable it.

 

 

That's all folks, give it a try and have fun playing.

 


  • 0

#53 CEn21

CEn21

    I am New.

  • Members
  • 9 posts
  • LocationJapan
  • Playing:Dragon Saga
  • Server:it is kinda obvious :D

Posted 05 March 2017 - 10:53 PM

lol wrong click sorry..

 

anyway is this still applicableÉ since the thread is from 2015 

 

thanks  :heh:


  • 0

#54 Popcorn

Popcorn

    Woodie-Holic

  • Dragon Saga Staff
  • 5432 posts
  • LocationGermany, Europe, Earth, Milky Way, Universe
  • Playing:Dragon Saga

Posted 05 March 2017 - 11:49 PM

This method of setting the "Large Address Awareness" flag is fully implemented in the new client versions. This method is no longer needed :)


  • 0

#55 5143121023173906760

5143121023173906760

    Too Legit To Quit

  • Members
  • 1508 posts
  • Playing:Dragon Saga
  • Server:Sounds obvious !

Posted 06 March 2017 - 12:33 AM

Wouldn't hurt to unpin that topic or add an [Outdated] mention to the title
  • 0

#56 Popcorn

Popcorn

    Woodie-Holic

  • Dragon Saga Staff
  • 5432 posts
  • LocationGermany, Europe, Earth, Milky Way, Universe
  • Playing:Dragon Saga

Posted 06 March 2017 - 12:30 PM

Yeah, it's unpinned now. Didn't notice it's still pinned.

 


  • 0

#57 CEn21

CEn21

    I am New.

  • Members
  • 9 posts
  • LocationJapan
  • Playing:Dragon Saga
  • Server:it is kinda obvious :D

Posted 06 March 2017 - 03:58 PM

This method of setting the "Large Address Awareness" flag is fully implemented in the new client versions. This method is no longer needed :)

 

Thank you for the reply  :p_smile:


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users