Unless you provide code, and not just a small out of context snippet, but all the code that has RAMs or infers RAMs we can't help further.
You probably have some architecture that wastes BRAMs. BRAMs only come in 16Kb/18Kb chunks, so if your architecture doesn't fit the hardware resources then it just wastes the excess space and the design doesn't fit. Theoretically you should only need 40 BRAMs (80KB) if you pack the data properly.
BTW, you never provided the reported BRAM requirements from either MAP or Synthesis.