某项目所需内存太大,idea默认的不够使用,报错如下
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '_filterChainProxyPostProcessor': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionAdvisor'。。。
解决方案:
在"Run/Debug Configurations" --> Configuration ---> Runner
设置 "VM Paraneters" 得值为:
-Xmx1024M