To avoid the crowd, prefer visiting the Palace during the weekdays. During the week-end, prefer coming Saturday at the opening (9:00 a.m.) or after 4:30 p.m. Sundays are generally very busy (I avoid the first Sunday of every month from November to March : it's free but crowded).