To work very hard; make a great effort.
Don’t knock yourself out during practice. Save your strength for the competition later.
Mrs. Ross knocked herself out planning her daughter's wedding.
She really knocked herself out trying to pass that difficult class.
Tom knocked himself out to give his guests a good time.