Yii Framework Forum: Problem With Gii For Sql Server - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem With Gii For Sql Server Rate Topic: -----

#1 User is offline   Hermans 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 201
  • Joined: 17-February 11

Posted 01 August 2013 - 12:06 AM

Hello Yii Team,

I don't know this is bug or not, but i got when try to use gii for sql server 2008.
Problem when i want to generate model, here detail error message:

Quote

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16005 bytes) in D:\AppServ\www\yii\framework\db\CDbCommand.php on line 516


but i have tasted to make Model manually and this work.

i have many tables, about 100 tables.
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 3,372
  • Joined: 17-January 09
  • Location:Russia

Posted 01 August 2013 - 06:10 AM

Yii tried getting schema info and caching it. It seems in case of SQL server 8 MB isn't enough to store it. You need a higher limit in your php.ini.
Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

#3 User is offline   Hermans 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 201
  • Joined: 17-February 11

Posted 01 August 2013 - 08:35 PM

thanks samdark,
this is work now.. :)
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users