No, the size of a palette does not matter. The error message means that you're using the palette as a texture. Either you've assigned it directly to a surface, or you have it placed into a texture folder of your project.