WHITELIONX Posted December 12, 2021 Posted December 12, 2021 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. Quote
Spirited Posted December 13, 2021 Posted December 13, 2021 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. Quote
WHITELIONX Posted December 13, 2021 Author Posted December 13, 2021 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 Quote
Spirited Posted December 13, 2021 Posted December 13, 2021 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. Quote
WHITELIONX Posted December 14, 2021 Author Posted December 14, 2021 I have no idea why it did it but it's only for personal playing around with and experimenting Quote
Spirited Posted December 14, 2021 Posted December 14, 2021 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.