Skip to content

Out of memory on plurkOAuth.php line 106 #2

@ghost

Description

I have this code

define("CONSUMER_SECRET","asdlhgasdhg135");
define("ACCESS_TOKEN","ReqnFVaBasdfgs5t321Rebd");
define("ACCESS_TOKEN_SECRET","kEshxx3pox13t6aqefrhqaPaprGfA6F2c6xYSU");
define("CONSUMER_KEY","s6tNuF91236ta4B7NU");

require('plurkAPI.php');

$plurk = new PlurkAPI(CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, ACCESS_TOKEN_SECRET);
$json = $plurk->callAPI('/APP/Profile/getPublicProfile', array('user_id' => 'clsung'), true);
$json = $plurk->callAPI('/APP/Profile/getOwnProfile');
$json = $plurk->callAPI('/APP/FriendsFans/getFriendsByOffset', array ('user_id' => 'clsung'));

When I run this one, I get this error:

Fatal error: Out of memory (allocated 61865984) (tried to allocate 19456 bytes) in /home/sxtest/public_html/test123/plurk/plurkOAuth.php on line 106

Why is this happening. Any help for this! Thanks! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions