Jump to content
Returning Members: Password Reset Required ×

Recommended Posts

Posted

I did a quick internet check to find out why I was getting a "outofmemory" error and I have attempted to rectify the error, however the solution given also gives issues namely unable to login until the properties are changed back to Any CPU.

The problem seems to come from TC Conductress but I am unsure of what to try next.

Posted
You can try running the server from Visual Studio and running it with a performance profiler. See if the NPC (for whatever reason) causes memory usage to spike. Sounds like you're legit running out of memory or hitting the x86 memory cap. But still, I'd be shocked if that was happening.
Posted

You can try running the server from Visual Studio and running it with a performance profiler. See if the NPC (for whatever reason) causes memory usage to spike. Sounds like you're legit running out of memory or hitting the x86 memory cap. But still, I'd be shocked if that was happening.

Hmmmmm I decided to comment out the line in question and lo and behold the npc works? I am running the base using vs 2010 because 2019 actually throws a blowfish error if I try to debug using vs 2019 anyways the line in question is "dialog.Text("I can teleport you in any of the main cities, market or mine for 100 silvers. Do you want to go somewhere?");"

I figured there was too much dialog used so deleted the last part of said dialog and it works, just weird imho but hey at least the error has now gone lol

Posted
The text line did that? Huh... that seems really odd. Not to say it's not possible, I don't know what that Text function does off the top of my head (if it tries to do something weird with text wrapping maybe). But it does seem really unlikely. I'd maybe keep a performance profiler running on your server for a while to see if it's really been resolved or not. Sometimes "fixes" like that can be red herrings.
Posted
Hm... I don't think it'd be much effort to place the line back in and put a breakpoint there, but it's your project. I'd want to understand why that line was a problem since it could very well come up anywhere else in the project using that function.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...