HomeBrew 是 macOS(或 Linux)系统上不可或缺的软件包的管理器,特别是 macOS 系统必备,因为 Linux 上已经内置了 apt 等包管理器。HomeBrew 官方网址: https://brew.sh/index_zh-cn.htmlHomeBrew 能干什么1、使用 Homebrew 安装 Apple(或您的 Linux 系统)没有预装但 你需要的东西。$ brew...
SQLSTATE[HY000]: General error: 1041 Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap spaceexception 'Typecho_Db_Query_Exception' with message 'SQLSTATE[HY000]: General error: 1041 Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space' in D:\WWWROOT\weiku.co\var\Typecho\Db\Adapter\Pdo.php:105 Stack trace: #0 D:\WWWROOT\weiku.co\var\Typecho\Db.php(354): Typecho_Db_Adapter_Pdo->query('SELECT COUNT(DI...', Object(PDO), 1, 'SELECT') #1 D:\WWWROOT\weiku.co\var\Typecho\Db.php(431): Typecho_Db->query(Object(Typecho_Db_Query), 1) #2 D:\WWWROOT\weiku.co\var\Widget\Abstract\Contents.php(599): Typecho_Db->fetchObject(Object(Typecho_Db_Query)) #3 D:\WWWROOT\weiku.co\var\Widget\Archive.php(565): Widget_Abstract_Contents->size(Object(Typecho_Db_Query)) #4 D:\WWWROOT\weiku.co\var\Widget\Archive.php(1435): Widget_Archive->getTotal() #5 D:\WWWROOT\weiku.co\usr\themes\handsome\archive.php(64): Widget_Archive->pageNav('<i class="fonte...', '<i class="fonte...') #6 D:\WWWROOT\weiku.co\var\Widget\Archive.php(2022): require_once('D:\\WWWROOT\\weik...') #7 D:\WWWROOT\weiku.co\var\Typecho\Router.php(138): Widget_Archive->render() #8 D:\WWWROOT\weiku.co\index.php(23): Typecho_Router::dispatch() #9 {main}