Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8849347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:37:39+00:00 2026-06-14T12:37:39+00:00

I am in the process or learning erlang OTP and rebar and I have

  • 0

I am in the process or learning erlang OTP and rebar and I have put together a small example app using a couple of dependencies: cowboy and lager.

I have issued

rebar get-deps
rebar compile

And things went smoothly. Now I want to fire up my console to test things around but it is not obvious to me how to start the dependency applications.

I tried issuing a

rebar generate 

In order to get all the orchestration of firing up the apps, even though it’s overkill for just development tests, but I miserably failed getting the following dump

Crash dump was written to: erl_crash.dump
eheap_alloc: Cannot allocate 1459620480 bytes of memory (of type "old_heap").
Aborted

The ebin dir only has beam files for the app I wrote but not the dependencies, I see the dependencies have their own ebin directory inside the main app deps directory, how would I go about having them available in a console to start them up?

I would appreciate if someone can shed some light as to what the common practice is for the dev env with multiple OTP apps.

I have read a couple of tutorials but they are mostly targeted at the rebar release cycle and not the development process.

TIA

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T12:37:40+00:00Added an answer on June 14, 2026 at 12:37 pm

    In your case, the modules you pull into the deps directory should typically be called from within your application code – and your application can be typically invoked from the Erlang shell using the application:start/1 function. If you haven’t yet, I strongly suggest that you read Chapter 12, “OTP Behaviors”, of Francesco Cesarini’s excellent book Erlang Programming – it’s a great practical introduction for what you’re attempting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As a part of learning process, I am writing simple IM app, using Remoting
I'm in the process of learning Databases and SQL. From what I have read
I am in the process of learning the Yii Framework. I have been following
I'm in the process of learning WPF and I have a problem with a
I'm in the process of learning JQuery, and I'm looking to have a list
I am in the process of learning to unit test. I have a 'domain
I'm in the process of learning Prolog. I have this recursive predicate: add(0,Y,Y). add(succ(X),Y,succ(Z))
I am in the process of learning MVC3 and I have the following @Ajax.Actionlink
I'm in the process of learning Erlang. As an exercise I picked up the
In the process of learning Ajax requests using jQuery, I tried to load google

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.