Too many threads ошибка

i am facing a problem while making an application of Blackberry that i have upto 7 threds call, of which each downloads an audio from the Server and it works fine but when i start my application twice then an uncaught exception has been occurred that «TOO MANY THREADS ERROR EXCEPTION», So, let me know that how i can solve this problem.

Brian Willis's user avatar

Brian Willis

22.8k9 gold badges46 silver badges50 bronze badges

asked Aug 3, 2010 at 7:51

Muhammad Farhan Habib's user avatar

1

i think instead of starting 7 threads use single thread.
1. create a TaskWorker class

public class TaskWorker implements Runnable {
    private boolean quit = false;
    private Vector queue = new Vector();

    public TaskWorker() {
        new Thread(this).start();
    }

    private Task getNext() {
        Task task = null;
        if (!queue.isEmpty()) {
            task = (Task) queue.firstElement();
        }
        return task;
    }

    public void run() {
        while (!quit) {
            Task task = getNext();
            if (task != null) {
                task.doTask();
                queue.removeElementAt(task);
            } else {// task is null and only reason will be that vector has no more tasks
                synchronized (queue) {
                    try {
                        queue.wait();
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
            }
        }
    }

     public void addTask(Task task) {
        synchronized (queue) {
            if (!quit) {
                queue.addElement(task);
                queue.notify();

            }

        }
    }

    public void quit() {
        synchronized (queue) {
            quit = true;
            queue.notify();
        }
    }
}

2. create a abstract Task class

public abstract class Task {

    abstract void doTask();
}

3. now create task.

public class DownloadTask extends Task{

        void doTask() {

            //do something
        }

    }

4. and add this task to the taskworker thread

TaskWorker taskWorker = new TaskWorker();
                    taskWorker.addTask(new DownloadTask());

answered Aug 3, 2010 at 9:01

Vivart's user avatar

0

If it happens when you RESTART the application, it means you must have some zombies… are you sure to join all your threads ?

answered Aug 3, 2010 at 8:10

Guillaume Lebourgeois's user avatar

0

i think instead of starting 7 threads use single thread.
1. create a TaskWorker class

public class TaskWorker implements Runnable {
    private boolean quit = false;
    private Vector queue = new Vector();

    public TaskWorker() {
        new Thread(this).start();
    }

    private Task getNext() {
        Task task = null;
        if (!queue.isEmpty()) {
            task = (Task) queue.firstElement();
        }
        return task;
    }

    public void run() {
        while (!quit) {
            Task task = getNext();
            if (task != null) {
                task.doTask();
                queue.removeElementAt(task);
            } else {// task is null and only reason will be that vector has no more tasks
                synchronized (queue) {
                    try {
                        queue.wait();
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
                }
            }
        }
    }

     public void addTask(Task task) {
        synchronized (queue) {
            if (!quit) {
                queue.addElement(task);
                queue.notify();

            }

        }
    }

    public void quit() {
        synchronized (queue) {
            quit = true;
            queue.notify();
        }
    }
}

2. create a abstract Task class

public abstract class Task {

    abstract void doTask();
}

3. now create task.

public class DownloadTask extends Task{

        void doTask() {

            //do something
        }

    }

4. and add this task to the taskworker thread

TaskWorker taskWorker = new TaskWorker();
                    taskWorker.addTask(new DownloadTask());
  1. 19.04.2013, 20:30

    #1

    poiuty вне форума


    Senior Member


    Отправить сообщение для poiuty с помощью ICQ

    ISPmanager 4.4.10.11
    Из лога

    Apr 19 04:00:01 [10651:187] [1;32mINFO Request [dbcache][root] ‘out=xml&func=db.size&type=localhost&name=domains_ db'[0m
    Apr 19 04:00:01 [10651:188] [1;32mINFO Request [acctstat][root] ‘out=xml&func=paramlist'[0m
    Apr 19 04:00:01 [10651:189] [1;32mINFO Request [dbquota][root] ‘out=xml&func=db.quota&elid=ejnfsog'[0m
    Apr 19 04:00:01 [10651:189] [1;36mEXTINFO Execute (/usr/sbin/setquota -g 506 0 5012480 0 0 /dev/ploop35770p1) return=0 exited[0m
    Apr 19 04:00:01 [10651:189] [1;36mEXTINFO Execute (/usr/sbin/setquota -u 506 0 0 0 0 /dev/ploop35770p1) return=0 exited[0m
    Apr 19 04:00:01 [10651:190] [1;32mINFO Request [acctstat][root] ‘out=xml&func=user'[0m
    Apr 19 04:00:01 [10651:191] [1;32mINFO Request [dbcache][root] ‘out=xml&func=db.size&type=localhost&name=ejnfsog_ dor_notebook'[0m
    Apr 19 04:00:01 [10651:192] [1;32mINFO Request [IP][control] ‘sok=yes&func=reseller&out=xml&authinfo=*'[0m
    Apr 19 11:05:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:10:02 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:15:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:20:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:25:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:30:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:35:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:40:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:45:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:50:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:55:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 12:00:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 12:00:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 12:05:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 12:10:02 [10651:1] [1;31mFATAL Too many threads[0m

    Strace
    https://dl.dropboxusercontent.com/u/…14/strace2.log

    Через killall ispmgr не убивает
    Перезагрузил через killall -9 ispmgr

    Так же нашел эту тему http://forum.ispsystem.com/ru/showthread.php?t=19618
    С /etc/passwd и /etc/group никаких проблем нет.

    Последний раз редактировалось poiuty; 19.04.2013 в 20:38.


  2. 20.04.2013, 05:21

    #2

    WebGraf вне форума


    Senior Member


    По умолчанию

    Ну как и всегда прошлая тема создана давно, теперь + эта. А баги некому править.
    Вот гдето до средины 12 года советовал панель всем. Теперь не советую никому. Почему? Потому что ранее мы баловались с мелкими недоделками, которые можно было терпеть. А сейчас мы постоянно наблюдаем очень серьезные ошибки, причем их множество.


  3. 20.04.2013, 16:53

    #3

    Igor вне форума


    Senior Member

    Аватар для Igor


    По умолчанию

    Это не ошибка. Закончился лимит запросов которые стоят в очереди. Выполняется какая-то долгая операция, например читается дира с миллионом файлов.

    2WebGraf — ваша реплика тут к чему? давайте список серьезных ошибок которые вы постоянно наблюдаете. в нашем багтреке сейчас ни одной не зарегистрировано.


  4. 21.04.2013, 04:00

    #4

    poiuty вне форума


    Senior Member


    Отправить сообщение для poiuty с помощью ICQ

    По умолчанию

    Цитата Сообщение от Igor
    Посмотреть сообщение

    Это не ошибка. Закончился лимит запросов которые стоят в очереди. Выполняется какая-то долгая операция, например читается дира с миллионом файлов.

    Например не читается дира с тремя триллионами миллионов файлов. Какие еще варианты? Почему ISPmanager зависает и не пишет точную причину в лог. При «LogLevel 9» — в логах в следующий раз будет информация о точной причине «FATAL Too many threads»?

    Какие альтернативные способы, вы можете предложить, чтобы узнать чем заняты ISPmanager threads?

    И кстати, нам всем очень понравились ошибки (ihttpd) в 4.4.10.8 и 4.4.10.10
    которые в первый раз могли завалить панель, а во второй принудительно дописывали 1500 порт.

    Последний раз редактировалось poiuty; 21.04.2013 в 04:23.


  5. 21.04.2013, 21:24

    #5

    Igor вне форума


    Senior Member

    Аватар для Igor


    По умолчанию

    смотрите по логу какие запросы были. ищите закономерность. текущий лимит 100 потоков. пока он не исчерпан запросы встают в очередь, потом ошибка которую вы наблюдаете.


  6. 22.04.2013, 07:27

    #6

    WebGraf вне форума


    Senior Member


    По умолчанию

    Цитата Сообщение от Igor
    Посмотреть сообщение

    Это не ошибка. Закончился лимит запросов которые стоят в очереди. Выполняется какая-то долгая операция, например читается дира с миллионом файлов.

    2WebGraf — ваша реплика тут к чему? давайте список серьезных ошибок которые вы постоянно наблюдаете. в нашем багтреке сейчас ни одной не зарегистрировано.

    А сообщения из форума от пользователей типа в игноре?
    Или вам список тем нерешенный показать?

    Даже по этой теме бац
    Или может напомнить темку по CentOS когда панель висла при добавлении домена?

    Или полная недоступность панели это не критическая проблема?

    Игорь, не считаю нужным сообщать об ошибках, если они уже «засвечены» на форуме.

    Последний раз редактировалось WebGraf; 22.04.2013 в 07:35.


  7. 22.04.2013, 08:01

    #7

    Igor вне форума


    Senior Member

    Аватар для Igor


    По умолчанию

    К сожалению зачастую в сообщениях на форуме мало инфы, позволяющей воспроизвести проблему.


  8. 22.04.2013, 14:17

    #8

    HappyAlex вне форума


    Senior Member


    По умолчанию

    Igor,
    ведь WebGraf прав, зависание панели, и её не достпуность для дргуих это пипец =((( очень часто наблюдаем, когда идет создание домена(аккаунта) .процесс создания не завершиться панель тупо не отвечает другим юзерам =( такая же ситуация при изменении тарифа =(

    при удалении аккаунта тоже самое — пока процесс удаления не завершиться панель пользователям не доступна


  9. 22.04.2013, 15:03

    #9

    Igor вне форума


    Senior Member

    Аватар для Igor


    По умолчанию

    Я не утверждаю что кто-то не прав.
    Я лишь говорю о том что не по всякому сообщению об ошибке ее можно воспроизвести и исправить.
    А то что панель однопоточная, это всем известный факт с которым к сожалению придеться мириться и это не является ошибкой.


  10. 22.04.2013, 17:35

    #10

    HappyAlex вне форума


    Senior Member


    По умолчанию

    Igor, но вот какой был смысл делать однопоточность ? в век многопоточности


HANDLE hTask = NULL;
DWORD taskIndex = 0;
if (SUCCEEDED(hr)) {
    hTask = AvSetMmThreadCharacteristics(TEXT("Pro Audio"), &taskIndex);
    if (hTask == NULL) {
        AUDLOG(LOG_E, "Failed to AvSetMmThreadCharacteristics() for Microphone Thread! Last error %d", GetLastError());
        hr = E_FAIL;
    }
}

At the beginning of our audio threads, we call AvSetMmThreadCharacteristics(). This has historyically been functional and stable. Recently we have seen a few failures with GetLastError() returning 565, which resolves to ERROR_TOO_MANY_THREADS and
has the following description.

Indicates a process has too many threads to perform the requested action.
For example, assignment of a primary token may only be performed when a process has zero or one threads.

What exactly does this error mean in the context of AvSetMmThreadCharacteristics()?

Is this more of a system resource error? As in, would it help to limit the number of threads created by the application?

Or is this some sort of thread or audio configuration error?

We have only seen this issue a few times, all on Windows 10. Please let me know what I can do.

  1. Too many threads。 This how to deal with

  2. I got the same issue after the update. After some hours the server uses 100% CPU and open a pop-up dialogue box
    with «Too many threads» pushed by rustdedicated.exe

    This is a dedicated rack server with 8 cores so it shouldn’t be able to use 100%.

  3. http://a1.qpic.cn/psb?/V1210Tw506ro…/dOxAGG2qAwAA&bo=qwIuAQAAAAAFB6I!&rf=viewer_4
    [DOUBLEPOST=1442583905][/DOUBLEPOST]I can’t find the specific reason, the reason why I don’t know if he

  4. rpc_opendoor timewarnings are caused by the decay implementation and as long as they are not going too much over 100-150 ms they can be ignored and they shouldn’t
    really have an effect on server performance

  5. Hi,
    after the update of Rust (17.09.15) my server has started throwing a special errors approximately every
    10-17 hour. I can’t find anything in the logs and the server is still running with players on. When this error appears the Rust:IO map also stops working.

    ScreenCap of the error:
    [​IMG]

    What could it be?

  6. Got the same problem as you guys, but for me the CPU goes to 100% usage right before the RustDedicated.exe
    stopped working (crashes).
    Happens about every 5 to 6 hours.

    [​IMG]

  7. @Henrikmeister have never seen it that bad before if this happens every 5
    or 6 hrs you will need to work out what is running then to cause that

  8. Last week my game has been unplayable and ever 5-30 minutes my game crashes with the error of this
    Gyazo — 55765def5ee830dbc779bb1b09a371c0.png

    anyone know the cause and or the fix for this? This is getting annoying and i cant play what so ever with these crashes.

  9. Just got this error after latest update. Any idea why?


  10. Wulf

    Wulf
    Community Admin

    Not really something I am familiar with. unity fatal error in gc —
    Google-Suche

Go to TheForest

r/TheForest

The Forest is an open world survival horror game developed by Endnight games currently out on Steam & Playstation, their sequel to The Forest, Sons of The Forest is located at r/sonsoftheforest




Online

error in gc too many threads

does anyone know how to fix this error?

Archived post. New comments cannot be posted and votes cannot be cast.

HANDLE hTask = NULL;
DWORD taskIndex = 0;
if (SUCCEEDED(hr)) {
    hTask = AvSetMmThreadCharacteristics(TEXT("Pro Audio"), &taskIndex);
    if (hTask == NULL) {
        AUDLOG(LOG_E, "Failed to AvSetMmThreadCharacteristics() for Microphone Thread! Last error %d", GetLastError());
        hr = E_FAIL;
    }
}

At the beginning of our audio threads, we call AvSetMmThreadCharacteristics(). This has historyically been functional and stable. Recently we have seen a few failures with GetLastError() returning 565, which resolves to ERROR_TOO_MANY_THREADS and
has the following description.

Indicates a process has too many threads to perform the requested action.
For example, assignment of a primary token may only be performed when a process has zero or one threads.

What exactly does this error mean in the context of AvSetMmThreadCharacteristics()?

Is this more of a system resource error? As in, would it help to limit the number of threads created by the application?

Or is this some sort of thread or audio configuration error?

We have only seen this issue a few times, all on Windows 10. Please let me know what I can do.

  1. 19.04.2013, 20:30

    #1

    poiuty вне форума


    Senior Member


    Отправить сообщение для poiuty с помощью ICQ

    ISPmanager 4.4.10.11
    Из лога

    Apr 19 04:00:01 [10651:187] [1;32mINFO Request [dbcache][root] ‘out=xml&func=db.size&type=localhost&name=domains_ db'[0m
    Apr 19 04:00:01 [10651:188] [1;32mINFO Request [acctstat][root] ‘out=xml&func=paramlist'[0m
    Apr 19 04:00:01 [10651:189] [1;32mINFO Request [dbquota][root] ‘out=xml&func=db.quota&elid=ejnfsog'[0m
    Apr 19 04:00:01 [10651:189] [1;36mEXTINFO Execute (/usr/sbin/setquota -g 506 0 5012480 0 0 /dev/ploop35770p1) return=0 exited[0m
    Apr 19 04:00:01 [10651:189] [1;36mEXTINFO Execute (/usr/sbin/setquota -u 506 0 0 0 0 /dev/ploop35770p1) return=0 exited[0m
    Apr 19 04:00:01 [10651:190] [1;32mINFO Request [acctstat][root] ‘out=xml&func=user'[0m
    Apr 19 04:00:01 [10651:191] [1;32mINFO Request [dbcache][root] ‘out=xml&func=db.size&type=localhost&name=ejnfsog_ dor_notebook'[0m
    Apr 19 04:00:01 [10651:192] [1;32mINFO Request [IP][control] ‘sok=yes&func=reseller&out=xml&authinfo=*'[0m
    Apr 19 11:05:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:10:02 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:15:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:20:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:25:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:30:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:35:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:40:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:45:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:50:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 11:55:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 12:00:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 12:00:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 12:05:01 [10651:1] [1;31mFATAL Too many threads[0m
    Apr 19 12:10:02 [10651:1] [1;31mFATAL Too many threads[0m

    Strace
    https://dl.dropboxusercontent.com/u/…14/strace2.log

    Через killall ispmgr не убивает
    Перезагрузил через killall -9 ispmgr

    Так же нашел эту тему http://forum.ispsystem.com/ru/showthread.php?t=19618
    С /etc/passwd и /etc/group никаких проблем нет.

    Последний раз редактировалось poiuty; 19.04.2013 в 20:38.


  2. 20.04.2013, 05:21

    #2

    WebGraf вне форума


    Senior Member


    По умолчанию

    Ну как и всегда прошлая тема создана давно, теперь + эта. А баги некому править.
    Вот гдето до средины 12 года советовал панель всем. Теперь не советую никому. Почему? Потому что ранее мы баловались с мелкими недоделками, которые можно было терпеть. А сейчас мы постоянно наблюдаем очень серьезные ошибки, причем их множество.


  3. 20.04.2013, 16:53

    #3

    Igor вне форума


    Senior Member

    Аватар для Igor


    По умолчанию

    Это не ошибка. Закончился лимит запросов которые стоят в очереди. Выполняется какая-то долгая операция, например читается дира с миллионом файлов.

    2WebGraf — ваша реплика тут к чему? давайте список серьезных ошибок которые вы постоянно наблюдаете. в нашем багтреке сейчас ни одной не зарегистрировано.


  4. 21.04.2013, 04:00

    #4

    poiuty вне форума


    Senior Member


    Отправить сообщение для poiuty с помощью ICQ

    По умолчанию

    Цитата Сообщение от Igor
    Посмотреть сообщение

    Это не ошибка. Закончился лимит запросов которые стоят в очереди. Выполняется какая-то долгая операция, например читается дира с миллионом файлов.

    Например не читается дира с тремя триллионами миллионов файлов. Какие еще варианты? Почему ISPmanager зависает и не пишет точную причину в лог. При «LogLevel 9» — в логах в следующий раз будет информация о точной причине «FATAL Too many threads»?

    Какие альтернативные способы, вы можете предложить, чтобы узнать чем заняты ISPmanager threads?

    И кстати, нам всем очень понравились ошибки (ihttpd) в 4.4.10.8 и 4.4.10.10
    которые в первый раз могли завалить панель, а во второй принудительно дописывали 1500 порт.

    Последний раз редактировалось poiuty; 21.04.2013 в 04:23.


  5. 21.04.2013, 21:24

    #5

    Igor вне форума


    Senior Member

    Аватар для Igor


    По умолчанию

    смотрите по логу какие запросы были. ищите закономерность. текущий лимит 100 потоков. пока он не исчерпан запросы встают в очередь, потом ошибка которую вы наблюдаете.


  6. 22.04.2013, 07:27

    #6

    WebGraf вне форума


    Senior Member


    По умолчанию

    Цитата Сообщение от Igor
    Посмотреть сообщение

    Это не ошибка. Закончился лимит запросов которые стоят в очереди. Выполняется какая-то долгая операция, например читается дира с миллионом файлов.

    2WebGraf — ваша реплика тут к чему? давайте список серьезных ошибок которые вы постоянно наблюдаете. в нашем багтреке сейчас ни одной не зарегистрировано.

    А сообщения из форума от пользователей типа в игноре?
    Или вам список тем нерешенный показать?

    Даже по этой теме бац
    Или может напомнить темку по CentOS когда панель висла при добавлении домена?

    Или полная недоступность панели это не критическая проблема?

    Игорь, не считаю нужным сообщать об ошибках, если они уже «засвечены» на форуме.

    Последний раз редактировалось WebGraf; 22.04.2013 в 07:35.


  7. 22.04.2013, 08:01

    #7

    Igor вне форума


    Senior Member

    Аватар для Igor


    По умолчанию

    К сожалению зачастую в сообщениях на форуме мало инфы, позволяющей воспроизвести проблему.


  8. 22.04.2013, 14:17

    #8

    HappyAlex вне форума


    Senior Member


    По умолчанию

    Igor,
    ведь WebGraf прав, зависание панели, и её не достпуность для дргуих это пипец =((( очень часто наблюдаем, когда идет создание домена(аккаунта) .процесс создания не завершиться панель тупо не отвечает другим юзерам =( такая же ситуация при изменении тарифа =(

    при удалении аккаунта тоже самое — пока процесс удаления не завершиться панель пользователям не доступна


  9. 22.04.2013, 15:03

    #9

    Igor вне форума


    Senior Member

    Аватар для Igor


    По умолчанию

    Я не утверждаю что кто-то не прав.
    Я лишь говорю о том что не по всякому сообщению об ошибке ее можно воспроизвести и исправить.
    А то что панель однопоточная, это всем известный факт с которым к сожалению придеться мириться и это не является ошибкой.


  10. 22.04.2013, 17:35

    #10

    HappyAlex вне форума


    Senior Member


    По умолчанию

    Igor, но вот какой был смысл делать однопоточность ? в век многопоточности


One of the programs I wrote before has been tested on one machine and has not been tested on another. I can’t figure out why. At first I thought it was a computer problem, but later I found that it would not appear in the place where the network is good, and the place where the network is bad is often seen. At the time of double code is found written in the Update, a StartCoroutine invoke the WWW class, every call Update will open a thread calls the WWW, under the condition of network good WWW can be returned in time, there will not be Too Many threads, once the network condition is bad, this way has been pulling thread, there waiting for the thread to return again, leading to excess thread, appear “Too Many threads”, I used the solution is put WWW calls in a while (true), Each call to WWW must wait for the last WWW return.

Read More:

  1. 28-07-2017, 05:08 PM

    #1

    Fuxy is offline


    Member


    Exclamation Fatal error in gc: too many threads

    Hey Guys!

    I get this error message when I’m tryin to continue or start a new game.
    Independent of the graphic settings, it’s always the same since the last update.

    Please fix this cause I like the game very much and don’t want to refund it, because I can’t play it anymore.


  2. 01-08-2017, 01:47 PM

    #2

    Maslostroj (Daniel) is offline


    Member

    Maslostroj (Daniel)'s Avatar


    Hey Fuxy, we’ve come upon this error only once so far, and it was caused by the game being installed on an external harddrive, which probably isn’t your case since it only started doing with the update.

    Any changes outside the game? Maybe a firewall blocking access of the game to external files and modules?

    Could you attach the log here?

    To Find the LOG file:
    The main game log on Windows can be found in the PlanetNomads_Data folder as output_log.txt
    On OSX, ~/Library/Logs/Unity/Player.log
    On linux, ~/.config/unity3d/Craneballs/PlanetNomads/Player.log
    On Windows (the usual path) C:Program Files (x86)SteamsteamappscommonPlanet NomadsPlanetNomads_Dataoutput_log.txt

    «Well, I thought. This is how the world works. All energy flows according to the whims of the Great Magnet. What a fool I was to defy him.»
    -Raoul Duke


Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off

Forum Rules

Recommended Posts

Nolalu

Landsmen

    • Share

When I try to go into battle after building my ship I keep getting a «Too Many Threads» fatal error in gc. why am I getting this and how do I fix it. thank you for your time, love the game.

  • Quote
Link to comment
Share on other sites

Ink

Commodore

    • Share

7 hours ago, Nolalu said:

When I try to go into battle after building my ship I keep getting a «Too Many Threads» fatal error in gc. why am I getting this and how do I fix it. thank you for your time, love the game.

Greetings Admiral.

Could you please what version of the game you try to play? Have you tried to verify integrity of game files by selection «Repair» option under «Options»?

  • Quote
Link to comment
Share on other sites

Nolalu

Landsmen

  • Author
    • Share

Good day,

Running on the battle loading screen Alpha 12 v86 game loading screen v 2.4.4. I did run the it help a lot, I only get the error vary rarely now. I don’t mine the intermittent Error I can play now at lest. just thought I would let you guys know.

Thanks for the help keep up all the good work.

  • Quote
Link to comment
Share on other sites

Ink

Commodore

    • Share

4 hours ago, Nolalu said:

Good day,

Running on the battle loading screen Alpha 12 v86 game loading screen v 2.4.4. I did run the it help a lot, I only get the error vary rarely now. I don’t mine the intermittent Error I can play now at lest. just thought I would let you guys know.

Thanks for the help keep up all the good work.

The problems that may be related to this error are getting addressed

  • Quote
Link to comment
Share on other sites

Join the conversation

You can post now and register later.

If you have an account, sign in now to post with your account.

Note: Your post will require moderator approval before it will be visible.

Hi Lee (and the Brightrockgames Team)

Sorry I’ve taken so long in getting
back to you but I’ve had a busy few weeks.

I just wanted to let you know that
following the «Crash!» suggestions fixed my issue.

I deleted the options.txt and turned
off Screen Space Ambient Obscurance and Anti-Aliasing as directed
and that fixed the initial crash.

I’ve done a bit of experimenting and
found that I still get occasional graphics card failures running
on the very highest texture setting with the above options turned
off. But I have successfully run without crashing for a few hours
solid on next texture setting down.

The nature of these other crashes
suggests to me a potential issue with my graphics card, as the
screen goes black but I can still hear the game going on — so the
game itself hasn’t crashed. Then the screen recovers and I’m back
on my desktop in a different resolution and with my system now
under the impression that I have two monitors (I don’t)!

So I think possibly my card is
overheating and shutting down for safety, or maybe it’s just on
the way out. Things don’t last forever after all.

Anyway just wanted to say thanks for
your time and assistance with my issue, it’s great to be able to
play the game again.

Wish you all the best for the future,
regards David Fisher.

In this post, you’ll learn about the Win32 Error “0x00000235 – ERROR_TOO_MANY_THREADS” that you get when debugging system erors in Windows.

The System Error Codes in Windows is a standard computer errors that occurs on Windows PCs. The System Error are usually intended for the developers troubleshooting issues related to the messages returned by the GetLastError.

Most of these Windows Errors are defined in the WinError.h file. The description of these error codes are very general and requires some bit of analysis to understand the exact issue.

Error Message

0x00000235 – ERROR_TOO_MANY_THREADS

Error Description

Indicates a process has too many threads to perform the requested action. For example, assignment of a primary token can be performed only when a process has zero or one threads.

Понравилась статья? Поделить с друзьями:
  • Tortoisehg 255 ошибка
  • Torque удаление ошибок
  • Torque считать ошибки абс
  • Torque не видит ошибки
  • Torque стереть ошибку