use*_*760 7 windows powershell cassandra
我正试图在我的Windows笔记本电脑上启动Cassandra,我看到以下错误:
WARNING! Powershell script execution unavailable
Please use 'powershell Set-ExecutionPolicy Unrestricted'
   on this user-account to run cassandra with fully featured
   functionality on this platform.
Starting with legacy startup options
Starting Cassandra Server
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
所以我打开Powershell尝试将ExecutionPolicy设置为Unrestricted,我得到以下内容:

所以我按照错误中描述的注册表项进行操作,似乎密钥已经正确设置.我只是缺少一些明显的东西吗?以前版本的Cassandra在我的机器上完美运行,但自从我更新以来,这给了我各种各样的问题.
小智 -2
您是否偶然运行 64 位 powershell.exe,但 Cassandra 尝试使用 32 位 powershell.exe,或者反之亦然?
“C:\ Windows \ System32 \ WindowsPowerShell \ v1.0 \ powershell.exe”
与
“C:\ Windows \ SysWOW64 \ WindowsPowerShell \ v1.0 \ powershell.exe”