Click here to Skip to main content
15,884,388 members
Home / Discussions / Database
   

Database

 
QuestionSchedule a trace file in SQL Profiler Pin
VK1928-Nov-17 7:06
VK1928-Nov-17 7:06 
AnswerRe: Schedule a trace file in SQL Profiler Pin
Richard Deeming28-Nov-17 7:27
mveRichard Deeming28-Nov-17 7:27 
AnswerRe: Schedule a trace file in SQL Profiler Pin
jschell1-Dec-17 8:01
jschell1-Dec-17 8:01 
GeneralRe: Schedule a trace file in SQL Profiler Pin
VK194-Dec-17 2:17
VK194-Dec-17 2:17 
GeneralRe: Schedule a trace file in SQL Profiler Pin
jschell5-Dec-17 10:24
jschell5-Dec-17 10:24 
GeneralRe: Schedule a trace file in SQL Profiler Pin
VK196-Dec-17 3:39
VK196-Dec-17 3:39 
GeneralRe: Schedule a trace file in SQL Profiler Pin
jschell8-Dec-17 8:14
jschell8-Dec-17 8:14 
QuestionFatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) Pin
Mahtabpi24-Nov-17 23:11
Mahtabpi24-Nov-17 23:11 
Hi
I wrote this code in notepad ++ :
PHP
<?php

 ini_set("memory_limit",-1);
 $myArray = Array();

 $connection  = mysqli_connect("localhost","my_user","my_password","my_db");
 $result = mysqli_query($connection, "SELECT * FROM tablename");
  
 while(($row = mysqli_num_rows($result))== null){
array_push($myArray,$row);
 }

 echo json_encode($myArray);
 mysqli_close($connection ); 

?>

And run it with wamp localhost . Then I got this error in my browser :
Fatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) in D:\...\page1.php on line 10
What's problem ? Can anybody says ?
AnswerRe: Fatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) Pin
Richard MacCutchan25-Nov-17 0:14
mveRichard MacCutchan25-Nov-17 0:14 
GeneralRe: Fatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) Pin
Mahtabpi27-Nov-17 22:49
Mahtabpi27-Nov-17 22:49 
GeneralRe: Fatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) Pin
Richard MacCutchan27-Nov-17 23:26
mveRichard MacCutchan27-Nov-17 23:26 
AnswerRe: Fatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) Pin
jschell27-Nov-17 10:01
jschell27-Nov-17 10:01 
GeneralRe: Fatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) Pin
Mahtabpi27-Nov-17 22:50
Mahtabpi27-Nov-17 22:50 
GeneralRe: Fatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) Pin
jschell29-Nov-17 11:44
jschell29-Nov-17 11:44 
AnswerRe: Fatal error: Out of memory (allocated 408944640) (tried to allocate 805306376 bytes) Pin
Jochen Arndt27-Nov-17 23:25
professionalJochen Arndt27-Nov-17 23:25 
QuestionI need to install Sql server to write some practice C# applications with small Database Pin
indian14324-Nov-17 6:02
indian14324-Nov-17 6:02 
AnswerRe: I need to install Sql server to write some practice C# applications with small Database Pin
Eddy Vluggen24-Nov-17 6:08
professionalEddy Vluggen24-Nov-17 6:08 
GeneralRe: I need to install Sql server to write some practice C# applications with small Database Pin
PIEBALDconsult24-Nov-17 6:51
mvePIEBALDconsult24-Nov-17 6:51 
AnswerRe: I need to install Sql server to write some practice C# applications with small Database Pin
Victor Nijegorodov24-Nov-17 10:18
Victor Nijegorodov24-Nov-17 10:18 
AnswerRe: I need to install Sql server to write some practice C# applications with small Database Pin
Richard Deeming28-Nov-17 2:42
mveRichard Deeming28-Nov-17 2:42 
QuestionTrggier not working with insert Pin
issam mansour22-Nov-17 22:39
issam mansour22-Nov-17 22:39 
AnswerRe: Trggier not working with insert Pin
Richard Deeming23-Nov-17 1:03
mveRichard Deeming23-Nov-17 1:03 
Questiondatabase log file configuration.. Pin
Member 1353603022-Nov-17 8:31
Member 1353603022-Nov-17 8:31 
AnswerRe: database log file configuration.. Pin
Richard MacCutchan22-Nov-17 21:46
mveRichard MacCutchan22-Nov-17 21:46 
GeneralRe: database log file configuration.. Pin
Member 1353603027-Nov-17 7:12
Member 1353603027-Nov-17 7:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.