JoeyTribbiani 822 Опубликовано 10 ноября, 2013 (изменено) Всем привет! Собственно столкнулся вот с такой проблемой: SpawnTable: loading spawnlist from database... SpawnTable: spawned 5000 npc. SpawnTable: spawned 10000 npc. SpawnTable: spawned 15000 npc. SpawnTable: spawned 20000 npc. SpawnTable: spawned 25000 npc. SpawnTable: spawned 30000 npc. SpawnTable: spawned 35000 npc. SpawnTable: spawned 37267 npc's; done, time 9964 ms. Exception in thread "main" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.ensurePrestart(ThreadPoolExecutor.java:1590) at java.util.concurrent.ScheduledThreadPoolExecutor.delayedExecute(ScheduledThreadPoolExecutor.java:333) at java.util.concurrent.ScheduledThreadPoolExecutor.scheduleAtFixedRate(ScheduledThreadPoolExecutor.java:570) at net.sf.l2j.gameserver.ThreadPoolManager.scheduleGeneralAtFixedRate(ThreadPoolManager.java:127) at net.sf.l2j.gameserver.model.actor.instance.L2RaidBossInstance.manageMinions(L2RaidBossInstance.java:122) at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.manageMinionsOnSpawn(L2MonsterInstance.java:123) at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.onSpawn(L2MonsterInstance.java:107) at net.sf.l2j.gameserver.model.actor.instance.L2RaidBossInstance.onSpawn(L2RaidBossInstance.java:61) at net.sf.l2j.gameserver.model.L2Object.spawnMe(L2Object.java:340) at net.sf.l2j.gameserver.model.L2Spawn.intializeNpcInstance(L2Spawn.java:441) at net.sf.l2j.gameserver.model.L2Spawn.doSpawn(L2Spawn.java:411) at net.sf.l2j.gameserver.instancemanager.RaidBossSpawnManager.addNewSpawn(RaidBossSpawnManager.java:198) at net.sf.l2j.gameserver.instancemanager.RaidBossSpawnManager.initi(RaidBossSpawnManager.java:113) at net.sf.l2j.gameserver.instancemanager.RaidBossSpawnManager.init(RaidBossSpawnManager.java:76) at net.sf.l2j.gameserver.GameServer.<init>(GameServer.java:268) at net.sf.l2j.gameserver.GameServer.main(GameServer.java:545) Через пару минут идут дальше ошибки: Exception in thread "NpcAiSTPool-669" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Exception in thread "NpcAiSTPool-675" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Exception in thread "NpcAiSTPool-695" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Exception in thread "NpcAiSTPool-708" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Exception in thread "NpcAiSTPool-646" Exception in thread "NpcAiSTPool-710" java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:713) at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1017) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1163) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Что это может быть? Памяти больше выделял,всего 4 гб ОЗУ - Ставил 3 гб для ГСа. Java 7 стоит. На Винде все отлично работает,никаких ошибок нет. Изменено 10 ноября, 2013 пользователем joejo Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
sx2001 48 Опубликовано 10 ноября, 2013 датник гс попробуй помнять на 1024 везде Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты
JoeyTribbiani 822 Опубликовано 10 ноября, 2013 датник гс попробуй помнять на 1024 везде Пробовал - тот же результат! Поделиться сообщением Ссылка на сообщение Поделиться на другие сайты