Delphi 7 memory error without reasons

I have recently created a Delphi 7 application.
The app has 25 forms and when I try to compile the application the program gives me an error message that says "not enough memory to".
My PC has enough memory when I check the performance the usage is below 40%. My question is what can I do to pass this error?
