Description
Whenever I tried to switch outside of tml using win+tab then switch back, the screen becomes white and the program itself stops responding, then there’s the error message «Game ran out of memory. You’ll have to find which mod is consuming lots of memory, and contact the devs or remove it.» This happens randomly when using win+tab, by that I mean sometimes it works fine but sometimes it crashes.
I do have a lot of mods installed/enabled, this includes: calamity (mod+music), thorium, luiafk, alchemistnpc (not lite), cheat sheet and veinminer.
My pc’s display is 3840×2160 and I run the game at 1920×1080
I have an extra memory chip installed so the total memory is 32GB, there’s no way a 2D pixel game can use up to 32 gb of ram, and the task manager proves it.
However, there’s an issue, the window resizes a few times before entering fullscreen. I’ve learned this from the following log messages:
«[13:22:42] [1/DEBUG] [Terraria]: Device Reset, Profile: HiDef, Width: 800 -> 1280, Height: 480 -> 720, Fullscreen: False -> True, Display: .DISPLAY1
[13:22:43] [1/DEBUG] [Terraria]: Device Reset, Profile: HiDef, Width: 1280 -> 1920, Height: 720 -> 1080, Fullscreen: True, Display: .DISPLAY1
[13:22:44] [1/DEBUG] [Terraria]: Device Reset, Profile: HiDef, Width: 1920, Height: 1080, Fullscreen: True, Display: .DISPLAY1″
These are always in the log file and the effect is noticeable too.
Does this affect it? Because I’m pretty sure it’s related.
I’m pretty sure it’s the game because this only happens when using win+tab. In some cases, this always happens when using win+tab. That means it never happens in-game, so it’s not actually the game running out of the memory, more like a bug which happens when resizing the window.
Log file
Client is completely normal, until:
[13:36:05] [1/DEBUG] [Terraria]: Device Reset, Profile: HiDef, Width: 1920, Height: 1080, Fullscreen: True, Display: .DISPLAY1
[13:36:06] [1/WARN] [tML]: Silently Caught Exception:
System.OutOfMemoryException: Insufficient memory to continue the execution of the program.
at Microsoft.Xna.Framework.Helpers.GetExceptionFromResult(UInt32 result)
at Microsoft.Xna.Framework.Graphics.GraphicsHelpers.GetExceptionFromResult(UInt32 result)
at Microsoft.Xna.Framework.Graphics.RenderTargetHelper.CreateSurfaces(GraphicsDevice graphicsDevice)
at Microsoft.Xna.Framework.Graphics.RenderTarget2D.RecreateAndPopulateObject()
at Microsoft.Xna.Framework.Graphics.DeviceResourceManager.RecreateResources(D3DPOOL pool, Boolean deviceRecreated)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset(PresentationParameters presentationParameters, GraphicsAdapter graphicsAdapter)
at Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
at Microsoft.Xna.Framework.GraphicsDeviceManager.EnsureDevicePlatform()
at Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.BeginDraw()
at Microsoft.Xna.Framework.Game.BeginDraw()
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameWindow.OnPaint()
at Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Form.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at Microsoft.Xna.Framework.WindowsGameForm.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at Microsoft.Xna.Framework.Input.UnsafeNativeMethods.CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Microsoft.Xna.Framework.Input.WindowMessageHooker.Hook.WndProc(IntPtr msgWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at ReLogic.OS.Windows.WindowsApi.CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at ReLogic.OS.Windows.WindowsMessageHook.WndProc(IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Terraria.Program.LaunchGame()
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs)
at Terraria.WindowsLaunch.Main(String[] args)
[13:36:06] [1/FATAL] [tML]: Game ran out of memory. You’ll have to find which mod is consuming lots of memory, and contact the devs or remove it.
And then the error pops up
Steps to reproduce
Using win+tab to swtich between the game and other tabs opened. Then switch back into the game.
Expected behavior
It was normal before, the window still resizes before entering full screen and I can use win+tab whenever I want, even in multiplayer. It’s just after the most recent update, this issue keeps occuring.
Actual behavior
crash
Reproduction frequency
Sometimes it’s guaranteed , sometimes it doesn’t crash at all.
Additional Information
No, it just happens all the time.
Lastly, I do wanna know if it’s actually my pc and do I have to update my drivers.
edit: this also happens when i accidentally press the win key (only the win key nothing else)
and it seems that when the error pops up the game’s resolution is at like 800×600 or something
Обновлено: 28.01.2023
до переустановки винды всё успешно работало, были моды, ничего не лагало и не вылетало
сейчас пробую заново поставить сервер, не работает. даже на чужой не могу зайти. перепробовала тысячи способов, всё равно выбивает ошибку
комп норм (раньше ведь тянул), игру перезакачивала, моды удаляла, от имени админа запускала, на разные диски устанавливала, не помогает
всё работает, вряд ли дело в винде. только дст вылетает и пишет ошибку. игры потяжелее работают без проблем.
помогите по — братски, любимая игра и так подводит :с
хз как у вас, но у меня сработало всё по такому алгоритму:
Пуск-найти программы и файлы-вписываем туда CMD-открываем от имени АДМИНА
В командной строке пишем
BCDEDIT /Set IncreaseUserVa 3072 — для систем с 4гб оперативки и выше
BCDEDIT /Set IncreaseUserVa 1792 — для систем с 2гб оперативки
после ввода нажимаем Enter, нас должны проинформировать, что операция прошла успешно

[RusEng] Fix OutOfMemory Error Увеличение объема оперативной памяти
При игре с модами через tModLoader объем допустимой памяти для модов составляет 4 ГБ, в гайде подробно описано как задействовать всё ОЗУ вашего ПК.
Так же это работает и для мультиплеера.
When playing with mods via tModLoader, the amount of allowed memory for mods is 4 GB, the guide describes in detail how to use all the RAM on your PC.
This also works for multiplayer.

1

1

2

2

2

1

| 3,710 | уникальных посетителей |
| 62 | добавили в избранное |





Террария 32-битная игра и соответственно ModLoader тоже сделан под 32. В 32 битной системе нельзя задействовать больше 4 ГБ оперативной памяти.
Мы же с вами будем апать tModLoader в 64-разрядную версию.
Terraria is a 32-bit game and, accordingly, ModLoader is also made for 32. In a 32-bit system, you cannot use more than 4 GB of RAM.
We are going to up tModLoader to the 64-bit version.
——————————————————————————
Ссылки и пути установкиLinks and installation paths::
Вам ведь нужны пруфы? Вот вам пруфыYou need proofs, right? Here are the proofs:
1. Переходим на гитхаб разработчика и скачиваем 64-битную версию лоадера.
Находится внизу страницы, нас интересует tModLoader64bit.zip
Go to the developer’s github and download the 64-bit version of the loader.
Located at the bottom of the page, we are interested in tModLoader64bit.zip
2. Открываем путь игры и закидываем поверх файлы из архива с заменой.
У нас будет два новых ярлыка (выделены на скрине)
Open the path of the game and throw over the files from the archive with the replacement.
We will have two new shortcuts (highlighted in the screenshot)
2.5 Если у вас видеокарта AMD, советую после скачать tmodloader_x64_vulkan.zip и закинуть поверх tModLoader64bit. Производительность заметно улучшится.
If you have an AMD graphics card, I advise you to download tmodloader_x64_vulkan.zip afterwards and put tModLoader64bit over it. The performance will improve markedly.
3. Добавляем tModLoader64bit в библиотеку стим, для этого нажимаем в стиме внизу слева «Добавить игру» — «Добавить стороннюю игру» и указываем путь к tModLoader64bit.
Add tModLoader64bit to the steam library, for this, click in the Steam at the bottom left «Add game» — «Add a third-party game» and specify the path to tModLoader64bit.
4. Запускаем tModLoader64bit. И смотрим в левый нижний угол, если вы видите следующее:
Launch tModLoader64bit. And look in the lower left corner if you see the following:
Значит у тебя все получилось, похлопай себе
И, пожалуйста, не забудь поставить оценку этому гайду.
So you did it, give yourself a pat
And, pls, don’t forget to rate this guide.


Ранэль Халиуллин


Илья Хроносов


Артем Бабанов


Денис Король


Артем Бабанов


Rodion Stokolyas



Rodion Stokolyas ответил Дмитрию


Rodion Stokolyas ответил Дмитрию

Rodion, там заменяется exe файл террарии. Его и запускай.
Если в стиме, то можешь открыть папку tmodloader и заменить файлы из 64 битного архива.


Rodion Stokolyas ответил Дмитрию
Читайте также:
- Неистовство ветра в hearthstone что это
- Во что поиграть если надоела гта
- Зеленый из майнкрафта как зовут
- For honor можно ли играть без интернета
- За что могут выгнать из банды в самп
Быстрая регистрация
После регистрации вы можете задавать вопросы и отвечать на них, зарабатывая деньги. Ознакомьтесь с правилами.
Создать аккаунт
- Заработай на 105-games.ru
- Во что поиграть на ПК
- Платим за ответы по играм
- ТОП авторов
Друг! Не забывай, что мы платим до 10 рублей за каждый ответ. Выбирай игру, читай любой вопрос и пиши ответ. Платим каждую неделю на сотовый телефон или yoomoney (Яндекс Деньги). Правила здесь.
Лучшие предложения
- Кредитные карты
- Быстрые займы
Совкомбанк
8 800 200-66-96
sovcombank.ru
Лицензия: №963
39 256 заявок
МТС Банк
Без процентов
до 111 дней
8 800 250-0-520
mtsbank.ru
Лицензия: №2268
17 943 заявок
Ренессанс Кредит
Без процентов
до 145 дней
8 800 200-09-81
rencredit.ru
Лицензия: №3354
31 949 заявок
ВебЗайм
8-800-700-8706
web-zaim.ru
ВэбБанкир
8 800 775-54-54
webbankir.com
МигКредит
8 800 700 09 08
migcredit.ru
Вопрос достаточно неоднозначный, ведь после паучьей брони идут сразу три, находящиеся примерно на одном этапе: Запретная, Святая и Броня Тики. Запретная и Святая проигрывают в уроне и количестве слотов под миньонов, но дают преимущество в защите, особенно последняя, с её обновлённым баффом — … Читать далее
Чел выше дал какой-то дико длинный ответ, если ты хочешь модного денег, то в процессе игры собирай весь хлам и продавай 🙂
Эттерианский кристал можно купить у Трактирщика, который, в свою очередь, появляется после убийства босса искажения (Мозг Ктулху или Пожиратель миров), он стоит : Дохардмод — 25 сер. монет, после убийства первого Механического босса (Близнецы, Уничтожитель или Скелетрон Прайм) — 1 золотая монета … Читать далее
Обсидиановый щит крафтится на столе инженера из кобальтового щита который можно найти в сундуках темницы (скелетрона) и Обсидианового черепа который в свою очередь крафтится на верстаке из 20-ти обсидиана. Обсидиан же можно получить, если вода и лава столкнутся.
Доступ к такому материалу, как эктоплазма открывается после убийства Плантеры. Найти его можно в биоме «Темница» или в простонародье «Данж Скелетона». Убив плантеру, возвращаемся в данж, если не убили Скелетрона, дожидаемся ночи и открываем доступ к спуску вниз. Теперь после убийства мобов (любых … Читать далее
День в террарий идет 24 минуты это можно проверить с помощью часов например платиновых или можно найти в аду обсидиановые часы.
Чтобы получить огнестрельное оружие в Террарии тебе нужно обыскивать различные сундуки, так же ты можешь покупать его у продавца или же убивая боссов.
Для того,чтобы забрать алтарь голема тебе нужно:
перейти в хардмод;
спуститься в подземные джунгли;
убить плантеру (из неё выпадет ключ от храма ящеров) и войти в храм. Затем тебе нужно посмотреть в сундуках внутри храма ящеров и найти призывалку голема, и призвать его (батарейку ящеров).
После … Читать далее