Food and Drink

End of the year khatams and jalsahs

Q: This time of the year sees many people completing Hifz and other courses. People are holding functions (jalsahs) at halls and other venues inviting family and friends. Often the number of people invited are over 200 and 300 people. 5 course meals are served and alot of expense is incurred in feeding people as well as decor and gifts. The men and women are often separated. Is there any Islamic/Sunnah practice regarding holding such events?

Also, is it permissable to attend such functions and accept the invitation?