程序是07年时开发的,现在要把以前备份出的数据加载到mysql数据库中。但是数据文件一大就提示out of memory这个错误。mysql版本5.0.2。请各位大侠支招!
my.ini配置如下:
[client]
port = 3306
default-character-set=gbk
[mysqld]
default-character-set=gbk
#language=chinese
max_allowed_packet=16M
query_cache_type=1
query_cache_size=10M
query_cache_limit=10M
wait_timeout=36000000
max_connect_errors=10000
max_tmp_tables=1000
max_connections=100
table_cache=512#设置索引缓冲(key_buffer)大小为 你的 RAM 的 5 - 50% 
key_buffer_size=256M#设置数据库文件自增长长度
innodb_data_file_path=Pras_Base_Data:10M;Pras_Extend_Data:80M:autoextend# 设置缓冲池大小为内存的 50 - 80 %,注意该参数不能设置太大
innodb_buffer_pool_size=512M
innodb_additional_mem_pool_size=256M
innodb_force_recovery=0
# Set .._log_file_size to 25 % of buffer pool size
# 设置日志文件大小为缓冲池的 15%。
innodb_log_file_size=8M
#将日志写入日志磁盘文件前的缓冲大小。理想值为 1M 至 8M
innodb_log_buffer_size=8M
#日志组中的日志文件数目
innodb_log_files_in_group=4#设置为cpu+磁盘数目
#innodb_thread_concurrency=2#如果机器较差设置为4
innodb_file_io_threads=8#安全性要求较低可以设为0
innodb_flush_log_at_trx_commit=1
innodb_lock_wait_timeout = 50net_read_timeout=120000
net_write_timeout=120000