--- Quote Start ---
So finally I solved this problem by disabling the parallel compilation in Quartus II.
I went to Assignments-->settings --> Compilation process settings --> Maximum processors allowed = 1
Also, I disabled Modelsim by going to EDA tool settings--> Simulation --> None.
My VHDL code was able to compile in just 4 minutes.
Hopefully it will be useful for other people.
--- Quote End ---
REALY great thanks.i stuck at physical optimization for 4 hours until I gave up .Also made me think that project i made was wrong in some place.But when i ran it in friend's comp it took about 1 min on fitter ....then i found your post .I wish i could find it faster :)