Handler table size exceeded allowed size

General discussion on mikroC PRO for dsPIC30/33 and PIC24.
Post Reply
Author
Message
EESL
Posts: 12
Joined: 04 Feb 2019 15:30

Handler table size exceeded allowed size

#1 Post by EESL » 16 Sep 2020 09:34

Hello

I am working with a PIC 24EP512GU814 and mikroC PRO for dsPIC Version 7.1.0.

Since a few days i get when compiling this message under certain circumstances:

1 304 Handler table size exceeded allowed size (max. 200 handler vectors allowed) Handler table size exceeded allowed size (max. 200 handler vectors allowed)

It is most annoying and i do not quite understand what i can do to get rid of it. I have seen in the forum that a few people have had this problem before but there is no indication how they solutioned this. Any help

would be appreciated.

Greetings Dieter

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Handler table size exceeded allowed size

#2 Post by filip » 17 Sep 2020 16:14

Hi,

Please try adding the following pragma at the beginning of your main source file and compile your project :

Code: Select all

#pragma SetHandlerTableSize 500
Regards,
Filip.

EESL
Posts: 12
Joined: 04 Feb 2019 15:30

Re: Handler table size exceeded allowed size

#3 Post by EESL » 18 Sep 2020 15:28

Filip

SPOT ON!

Well done and many thanks. I really hope that mikroC is appreciating your work because as far as i can tell you are always helpfull and quite good with your answers.

Greetings and have a nice weekend, Dieter

Post Reply

Return to “mikroC PRO for dsPIC30/33 and PIC24 General”