用PHPExcel就不消耗内存么?你的导出代码是如何写的。
从数据库还是哪里导出?
// 设置缓存方式,减少对内存的占用 $cacheMethod = PHPExcel_CachedObjectStorageFactory::cache_to_phpTemp; $cacheSettings = array ( 'cacheTime' => 300 ); PHPExcel_Settings::setCacheStorageMethod ( $cacheMethod, $cacheSettings );
21,886
社区成员
140,364
社区内容
加载中
试试用AI创作助手写篇文章吧