<?php
$path = DIR."/php/builder/seeds";
$dh = opendir($path);
$paths = [];
while ($filename = readdir($dh)) {
  if (in_array($filename, [".","..","index.php"])) continue;
  $paths[] = "$path/$filename";
}
asort($paths);
foreach ($paths as $v) include $v;

//seedOrganizations();
//seedClasses();
//seedFamilies();
//seedGenus();
//seedSpecies();
//seedIUCNStatus();
//seedIndoStatus();
//seedLocation();
//seedLandcover();
//seedGrids();
<?php
$path = DIR."/php/builder/seeds";
$dh = opendir($path);
$paths = [];
while ($filename = readdir($dh)) {
  if (in_array($filename, [".","..","index.php"])) continue;
  $paths[] = "$path/$filename";
}
asort($paths);
foreach ($paths as $v) include $v;

ini_set('memory_limit','256M');

//seedOrganizations();
//seedClasses();
//seedFamilies();
//seedGenus();
//seedSpecies();
//seedIUCNStatus();
//seedIndoStatus();
//seedLocation();
//seedLandcover();
//seedGrids();
Build Seeder, tambah ini set memory limit
Build Seeder, tambah ini set memory limit